]> git.pld-linux.org Git - packages/adapter.git/commitdiff
- i never remember in which package is getopt so added info about that
authorSławomir Paszkiewicz <paszczus@pld-linux.org>
Sat, 1 Apr 2006 23:25:31 +0000 (23:25 +0000)
committerSławomir Paszkiewicz <paszczus@pld-linux.org>
Sat, 1 Apr 2006 23:25:31 +0000 (23:25 +0000)
Changed files:
    adapter.sh -> 1.14

adapter.sh

index b6783ca820ca0c71bdf712a1be371c21a8cf900d..44fe4bb1e89315a5f55a5435325413206f59a5ae 100644 (file)
@@ -28,7 +28,10 @@ usage="Usage: $self [FLAGS] SPECFILE
        skip %defattr corrections
 
 "
-
+if [ ! -x /usr/bin/getopt ]; then
+echo "You need to install util-linux to use adapter"
+exit 0
+fi
 t=`getopt -o hsmda --long help,sort,sort-br,no-macros,skip-macros,skip-desc,skip-defattr -n "$self" -- "$@"` || exit $?
 eval set -- "$t"
 
This page took 0.090227 seconds and 4 git commands to generate.