commit d26e80ce6c6686c6c4b0b8c6ed7c444194ad5cbb
Author: Elan Ruusamäe <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to