[Lunar-commits] r17560 - moonbase/trunk/utils/gnokii

Florin Braescu florin at lunar-linux.org
Sun Dec 4 06:38:20 UTC 2005


Author: florin
Date: 2005-12-04 06:38:19 +0000 (Sun, 04 Dec 2005)
New Revision: 17560

Added:
   moonbase/trunk/utils/gnokii/PRE_BUILD
Modified:
   moonbase/trunk/utils/gnokii/BUILD
   moonbase/trunk/utils/gnokii/POST_INSTALL
Log:
fix the compile when gnokii group was not already created. 

Modified: moonbase/trunk/utils/gnokii/BUILD
===================================================================
--- moonbase/trunk/utils/gnokii/BUILD	2005-12-03 23:28:06 UTC (rev 17559)
+++ moonbase/trunk/utils/gnokii/BUILD	2005-12-04 06:38:19 UTC (rev 17560)
@@ -3,16 +3,16 @@
   OPTS="$OPTS --enable-security --disable-debug --disable-xdebug"
   if echo $OPTS | grep -q 'with-x' ; then
     sedit "s:LDLIBS += :LDLIBS += -lXpm :" xgnokii/Makefile
-  fi
+  fi  &&
 
-  ./configure   --prefix=/usr   \
-                $OPTS           &&
+  ./configure  --prefix=/usr  \
+               $OPTS         &&
 
   make               &&
   make install-docs  &&
-  cp Docs/sample/gnokiirc /etc/gnokiirc &&
   make install-suid  &&
   prepare_install    &&
-  make install
-
+  make install       &&
+  cp Docs/sample/gnokiirc /etc/gnokiirc
+  
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/utils/gnokii/POST_INSTALL
===================================================================
--- moonbase/trunk/utils/gnokii/POST_INSTALL	2005-12-03 23:28:06 UTC (rev 17559)
+++ moonbase/trunk/utils/gnokii/POST_INSTALL	2005-12-04 06:38:19 UTC (rev 17560)
@@ -1,8 +1,3 @@
-if [ 'grep gnokii /etc/group' != 'gnokii' ]
-     then
-     groupadd gnokii
-  fi
-
   if [ ! -e /etc/gnokiirc ]; then
     cp Docs/sample/gnokiirc  /etc/gnokiirc
   fi

Added: moonbase/trunk/utils/gnokii/PRE_BUILD
===================================================================
--- moonbase/trunk/utils/gnokii/PRE_BUILD	2005-12-03 23:28:06 UTC (rev 17559)
+++ moonbase/trunk/utils/gnokii/PRE_BUILD	2005-12-04 06:38:19 UTC (rev 17560)
@@ -0,0 +1,4 @@
+  if [ 'grep gnokii /etc/group' != 'gnokii' ]
+     then
+     groupadd gnokii
+  fi



More information about the Lunar-commits mailing list