[packages/adapter: 371/631] - need patch to run

glen glen at pld-linux.org
Mon Sep 12 20:05:33 CEST 2016


commit d26e80ce6c6686c6c4b0b8c6ed7c444194ad5cbb
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Jul 3 13:18:13 2007 +0000

    - need patch to run
    
    Changed files:
        adapter.sh -> 1.20

 adapter.sh | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/adapter.sh b/adapter.sh
index b012c2f..4a90576 100644
--- a/adapter.sh
+++ b/adapter.sh
@@ -34,6 +34,11 @@ if [ ! -x /usr/bin/getopt ]; then
 	exit 1
 fi
 
+if [ ! -x /usr/bin/patch ]; then
+	echo >&1 "You need to install patch to use adapter"
+	exit 1
+fi
+
 t=`getopt -o hsmda --long help,sort,sort-br,no-macros,skip-macros,skip-desc,skip-defattr -n "$self" -- "$@"` || exit $?
 eval set -- "$t"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list