CVS: lunar/var/lib/lunar/functions postbuild.lunar,1.4,1.5

elaine at lunar-linux.org elaine at lunar-linux.org
Sat Aug 16 20:00:02 GMT 2003


Update of /var/cvs/lunar/lunar/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv8610

Modified Files:
	postbuild.lunar 
Log Message:
Merged fix to lunar


Index: postbuild.lunar
===================================================================
RCS file: /var/cvs/lunar/lunar/var/lib/lunar/functions/postbuild.lunar,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- postbuild.lunar	10 Aug 2003 01:16:22 -0000	1.4
+++ postbuild.lunar	16 Aug 2003 20:00:00 -0000	1.5
@@ -64,7 +64,8 @@
 }
 
 
-install_xinetd_confs()  {
+install_xinetd_confs()  { (
+  unset IFS
   debug_msg "install_xinetd_confs ($@)"
   if  [  -d  "$SCRIPT_DIRECTORY/xinetd.d"  ];  then
     cd       "$SCRIPT_DIRECTORY/xinetd.d"
@@ -88,7 +89,7 @@
       invoke_installwatch
     fi
   fi
-}
+) }
 
 
 use_xinetd()  {
@@ -141,7 +142,7 @@
   [ -d /etc/init.d ] || mkdir -p /etc/init.d
 
   if  [ -d  $SCRIPT_DIRECTORY/init.d  ] ; then
-    verbose_msg "handling init.d scripts"
+    verbose_msg "handling init.d scripts" | tee -a $C_LOG
     cd $SCRIPT_DIRECTORY/init.d
     SCRIPTS=[!CVS]*
     ALL_INITDSCRIPTS=$(grep -l "# chkconfig: " $SCRIPTS | cut -d/ -f2)
@@ -214,8 +215,8 @@
 
 
 install_bashmisc () {
-  debug_msg "install_bashmisc  ($@)"
-  if [ -d $SCRIPT_DIRECTORY/profile.d ]; then
+  debug_msg "install_bashmisc ($@)"
+  if [ -d $SCRIPT_DIRECTORY/profile.d ] ; then
     [ -d /etc/profile.d ] || mkdir -p /etc/profile.d
     install -g 0 -o 0 -m 644 $SCRIPT_DIRECTORY/profile.d/*.rc /etc/profile.d
     message "\n${MESSAGE_COLOR}Please log out and log in again to make changes in your shell\nenvironment take effect.${DEFAULT_COLOR}\n"




More information about the Lunar-commits mailing list