[Lunar-commits] CVS: moonbase/utils/theedge POST_INSTALL, 1.1.1.1, 1.2

Auke Kok sofar at lunar-linux.org
Sun Mar 21 20:49:09 GMT 2004


Update of /var/cvs/lunar/moonbase/utils/theedge
In directory dbguin.lunar-linux.org:/tmp/cvs-serv21859

Modified Files:
	POST_INSTALL 
Log Message:
New updating method required with lunar core tools.


Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/theedge/POST_INSTALL,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- POST_INSTALL	21 Aug 2002 00:55:22 -0000	1.1.1.1
+++ POST_INSTALL	21 Mar 2004 20:49:07 -0000	1.2
@@ -1,12 +1,12 @@
 # this is for removing the lunar module from the
 # package listing WITHOUT removing its contents
 # kongar, 20020524
-module_installed lunar && remove_module lunar
-
-[ "$LUNAR_MODULE" != "theedge" ] &&
-write_config "LUNAR_MODULE=" "LUNAR_MODULE=theedge"
+if module_installed lunar ; then
+  remove_module lunar
+fi
 
-write_config "optimize"
+if [ "$LUNAR_MODULE" != "theedge" ] ; then
+  set_lunar_config "LUNAR_MODULE" "$LUNAR_MODULE"
+fi
 
-true
 



More information about the Lunar-commits mailing list