[Lunar-commits] CVS: theedge/sbin lin,1.79,1.80

Auke Kok sofar at lunar-linux.org
Wed Oct 6 12:43:07 UTC 2004


Update of /var/cvs/lunar/theedge/sbin
In directory espresso.foo-projects.org:/tmp/cvs-serv8255/sbin

Modified Files:
	lin 
Log Message:
Adding -w|--want $VERSION support (NO WARRANTY) that allows you to override VERSION (don't try this with more than one module ;^))


Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- lin	17 Apr 2004 16:33:45 -0000	1.79
+++ lin	6 Oct 2004 12:43:05 -0000	1.80
@@ -47,10 +47,12 @@
 -h  |  --help                   Displays this help text
 -p  |  --probe                  Only lin if not already installed
 -r  |  --reconfigure		Select new dependencies for modules
--R  |  --resurrect              Force module to be unpacked from /var/cache/lunar
+-R  |  --resurrect              Force to be unpacked from /var/cache/lunar
 -s  |  --silent			Decreases the level of message output
 -v  |  --verbose                Increases the level of message output
 -V  |  --Version                Select specific Version of module to install
+-w  |  --want version           Try to install a different version that is
+                                not in moonbase
 EOF
   exit  1
 }
@@ -203,7 +205,7 @@
 
 . /etc/lunar/config
 
-GETOPT_ARGS=$(getopt -q -n lin -o "cdf:hprRsvV:" -l "compile,debug,deps,from:,help,probe,reconfigure,resurrect,silent,verbose,Version:" -- "$@")
+GETOPT_ARGS=$(getopt -q -n lin -o "cdf:hprRsvV:w:" -l "compile,debug,deps,from:,help,probe,reconfigure,resurrect,silent,verbose,Version:,want:" -- "$@")
 
 # the following trap makes sure all threads exit in case something weird
 # happens:
@@ -233,6 +235,7 @@
       -s|--silent      ) export SILENT="$1" ;                       shift   ;;
       -v|--verbose     ) export VERBOSE="on" ;                      shift   ;;
       -V|--Version     ) export MOD_VERSION=$2 ;                    shift 2 ;;
+      -w|--want        ) export WANT_VERSION=$2 ;                   shift 2 ;;
       --) shift ; break ;;
       *) help ; break ;;
     esac



More information about the Lunar-commits mailing list