[Lunar-commits] r18589 - moonbase/trunk/editors/nano

striker striker at lunar-linux.org
Wed Feb 8 16:29:41 UTC 2006


Author: striker
Date: 2006-02-08 16:29:41 +0000 (Wed, 08 Feb 2006)
New Revision: 18589

Modified:
   moonbase/trunk/editors/nano/BUILD
Log:
[10:21:58]<Striker`Work> sofar: you should remove the nanorc from the ISO, that thing is huge
[10:22:09]<sofar> then edit the nano module


Modified: moonbase/trunk/editors/nano/BUILD
===================================================================
--- moonbase/trunk/editors/nano/BUILD	2006-02-08 15:50:21 UTC (rev 18588)
+++ moonbase/trunk/editors/nano/BUILD	2006-02-08 16:29:41 UTC (rev 18589)
@@ -1,18 +1,18 @@
 (
 
-  if [ "$COLOR" == "y" ] ; then
+  if [[ "$COLOR" == "y" ]] ; then
     OPTS="$OPTS --enable-color"
   fi
-  if [ "$NANORC" == "y" ] ; then
+  if [[ "$NANORC" == "y" ]] ; then
     OPTS="$OPTS --enable-nanorc"
   fi
-  if [ "$MULTI" == "y" ] ; then
+  if [[ "$MULTI" == "y" ]] ; then
     OPTS="$OPTS --enable-multibuffer"
   fi
   
   default_build  &&
 
-  if [ ! -f "/etc/nanorc" ]; then
+  if [[ "$NANORC" == "y" && ! -f "/etc/nanorc" ]]; then
     bzcat $SOURCE_CACHE/$SOURCE2 > nanorc
     install -m 0644 nanorc /etc/
   fi



More information about the Lunar-commits mailing list