CVS: theedge/sbin lget,1.24,1.25 lin,1.68,1.69 lunar,1.24,1.25

sofar at lunar-linux.org sofar at lunar-linux.org
Sat Oct 4 20:19:45 GMT 2003


Update of /var/cvs/lunar/theedge/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv16957/sbin

Modified Files:
	lget lin lunar 
Log Message:
Same bugfixes as in lunar core.


Index: lget
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lget,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- lget	17 Sep 2003 00:36:41 -0000	1.24
+++ lget	4 Oct 2003 20:19:43 -0000	1.25
@@ -97,7 +97,7 @@
 
 . /etc/lunar/config
 
-GETOPT_ARGS=$(getopt -q -n lget -o "df:hu:vV:" -l "debug,from:,help,url:,verbose,Version:" -- "$@")
+GETOPT_ARGS=$(getopt -q -n lget -o "adf:hu:vV:" -l "all,debug,from:,help,url:,verbose,Version:" -- "$@")
 
 if [ -z "$?" ] ; then
   help | view_file
@@ -110,17 +110,24 @@
   set_priority
   while true ; do
     case "$1" in
+      -a|--all     ) export LGET_ALL=yes ;                      shift   ;;
       -d|--debug   ) (( LUNAR_DEBUG++ )) ; export LUNAR_DEBUG ; shift   ;;
       -f|--from    ) export SOURCE_CACHE=$2 ;                   shift 2 ;;
       -h|--help    ) help ;                                     exit  1 ;;
       -u|--url     ) export BASE_URL="$2" ;                     shift 2 ;;
       -v|--verbose ) export VERBOSE="on" ;                      shift   ;;
       -V|--Version ) export MOD_VERSION=$2 ;                    shift 2 ;;
-
       --) shift ; break ;;
       *) help ; exit ;;
     esac
   done
 
-  main $@
+  if [ -n "$LGET_ALL" ] ; then
+    main
+  elif [ -z "$@" ] ; then
+    help
+    exit 1
+  else
+    main $@
+  fi
 fi

Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- lin	11 Sep 2003 16:03:52 -0000	1.68
+++ lin	4 Oct 2003 20:19:43 -0000	1.69
@@ -83,11 +83,11 @@
     fi
 
     if [ ! -n "$TEMP_DOWNLOADLOG" ] ; then
-      export TEMP_DOWNLOADLOG=$(temp_create "${MODULE}.download-log")
+      export TEMP_DOWNLOADLOG=$(temp_create "download-log")
     fi
 
     if [ ! -n "$TEMP_PREPAREDDEPS" ] ; then
-      export TEMP_PREPAREDDEPS=$(temp_create "${MODULE}.prepared-depends")
+      export TEMP_PREPAREDDEPS=$(temp_create "prepared-depends")
     fi
 
     # pass 1 : run full dependency checking

Index: lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lunar,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- lunar	12 Sep 2003 00:33:18 -0000	1.24
+++ lunar	4 Oct 2003 20:19:43 -0000	1.25
@@ -57,7 +57,7 @@
 remove     modulename(s)  Remove a checklist of modules
 hold       modulename(s)  Place a hold on a checklist of modules
 unhold     modulename(s)  Remove a hold on a checklist of modules
-exile      modulename(s)  Remove a module and prevent it from being resurrected
+exile      modulename(s)  Remove a module a/o prevent it from being resurrected
 unexile    modulename(s)  Allows a module to be compiled|resurrected again
 EOF
   exit  1




More information about the Lunar-commits mailing list