aports/testing/opennebula/getopt.patch
2013-06-11 23:04:15 +00:00

16 lines
357 B
Diff

--- opennebula-4.0.1/install.sh.orig
+++ opennebula-4.0.1/install.sh
@@ -51,11 +51,7 @@
PARAMETERS="hkrlcsou:g:d:"
-if [ $(getopt --version | tr -d " ") = "--" ]; then
- TEMP_OPT=`getopt $PARAMETERS "$@"`
-else
- TEMP_OPT=`getopt -o $PARAMETERS -n 'install.sh' -- "$@"`
-fi
+TEMP_OPT=`getopt $PARAMETERS "$@"`
if [ $? != 0 ] ; then
usage