[Lunar-commits] CVS: theedge/sbin lrm,1.31,1.32

Auke Kok sofar at lunar-linux.org
Tue Dec 14 15:39:00 UTC 2004


Update of /var/cvs/lunar/theedge/sbin
In directory espresso.foo-projects.org:/home/sofar/active/theedge/sbin

Modified Files:
	lrm 
Log Message:
I just forgot to add the option to getopt()... meh


Index: lrm
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lrm,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- lrm	14 Dec 2004 15:31:53 -0000	1.31
+++ lrm	14 Dec 2004 15:38:58 -0000	1.32
@@ -212,7 +212,7 @@
     return 1
   fi
 
-  if [ "$NOSUSTAIN" != "on" -o "$UPGRADE" != "on" ] ; then
+  if [ "$NOSUSTAIN" != "on" -a "$UPGRADE" != "on" ] ; then
     debug_msg "checking if \"$1\" is sustained"
     if grep -q -w "$MODULE" "$SUSTAINED" ; then
       message  "${MODULE_COLOR}${MODULE}"       \
@@ -293,7 +293,7 @@
 . /etc/lunar/config
 
 
-GETOPT_ARGS=$(getopt -q -n lrm -o "dD:hknvp" -l "debug,downgrade:,help,keepconfig,nosustain,verbose,purge" -- "$@")
+GETOPT_ARGS=$(getopt -q -n lrm -o "dD:hknuvp" -l "debug,downgrade:,help,keepconfig,nosustain,upgrade,verbose,purge" -- "$@")
 
 if [ -z "$?" ] ; then
   help | view_file



More information about the Lunar-commits mailing list