CVS: lunar/sbin lget,1.9,1.10 lin,1.17,1.18 lunar,1.8,1.9

sofar at lunar-linux.org sofar at lunar-linux.org
Sat Oct 4 20:13:37 GMT 2003


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

Modified Files:
	lget lin lunar 
Log Message:
<sofar> I have a bugfix for the core here
<sofar> it involves -r being confused with --deps
<sofar> something broke in the core about 3/4 months back
<sofar> I just found it and fixed the problem, commit to lunar will follow shortly
<sofar> e.g. do a lin -r lunar.... you'll see 5 lunar questions but 20+ unwanted ones
<sofar> that is a BUG, and never was intentional.
<sofar> I also have changed lget behaviour, defaults to NOT download anything, and downloads everything with lget --all
<sofar> lemme see what else is in theere
<sofar> one cosmetic bug fix regarding download log
<sofar> lunar exile XXX can now also be called if a module is NOT installed
<sofar> FUZZY downloads now default to OFF
<sofar> and gpg: syntax has changed a bit


Index: lget
===================================================================
RCS file: /var/cvs/lunar/lunar/sbin/lget,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- lget	10 Aug 2003 01:16:21 -0000	1.9
+++ lget	4 Oct 2003 20:13:35 -0000	1.10
@@ -86,7 +86,7 @@
 
 . /etc/lunar/config
 
-GETOPT_ARGS=$(getopt -q -n lget -o "df:hu:v" -l "debug,from:,help,url:,verbose" -- "$@")
+GETOPT_ARGS=$(getopt -q -n lget -o "adf:hu:v" -l "all,debug,from:,help,url:,verbose" -- "$@")
 
 if [ -z "$?" ] ; then
   help | view_file
@@ -99,15 +99,22 @@
   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   ;;
       --) 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/lunar/sbin/lin,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- lin	10 Aug 2003 01:16:21 -0000	1.17
+++ lin	4 Oct 2003 20:13:35 -0000	1.18
@@ -74,11 +74,11 @@
   if [ $(echo $MODULES | wc -w) -gt 1 ] ; then
 
     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/lunar/sbin/lunar,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- lunar	12 Sep 2003 00:29:09 -0000	1.8
+++ lunar	4 Oct 2003 20:13:35 -0000	1.9
@@ -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