Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/rpm



Date:	Thursday July 15, 1999 @ 3:37
Author:	tanner

Update of /home/netrek/cvsroot/Vanilla/rpm
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv12353/rpm

Modified Files:
	cvs2rpm 
Log Message:
	* rpm/cvs2rpm (sources): Changed script to include copying the
	crontab file into the RPM_SOURCE_DIR.



****************************************

Index: Vanilla/rpm/cvs2rpm
diff -u Vanilla/rpm/cvs2rpm:1.2 Vanilla/rpm/cvs2rpm:1.3
--- Vanilla/rpm/cvs2rpm:1.2	Wed Jul 14 20:09:17 1999
+++ Vanilla/rpm/cvs2rpm	Thu Jul 15 03:37:53 1999
@@ -5,7 +5,7 @@
 #
 # Make sure you check and set your VS and VL variable to get this to work.
 #
-# $Id: cvs2rpm,v 1.2 1999/07/15 01:09:17 tanner Exp $
+# $Id: cvs2rpm,v 1.3 1999/07/15 08:37:53 tanner Exp $
 #
 
 # Change these if necessary!
@@ -86,17 +86,13 @@
   exit 1
 fi
 
-cp netrek.init $RPM_SOURCE_DIR
-if [ $? -ne 0 ]; then
-  echo "Cannot move init.d file to $RPM_SOURCE_DIR. Aborting."
-  exit 1
-fi
-
-cp netrek.logrotate $RPM_SOURCE_DIR
-if [ $? -ne 0 ]; then
-  echo "Cannot copy logrotate file to $RPM_SOURCE_DIR. Aborting."
-  exit 1
-fi
+for i in init logrotate crontab; do
+  cp netrek.$i $RPM_SOURCE_DIR
+  if [ $? -ne 0 ]; then
+    echo "Cannot cp netrek.$ to $RPM_SOURCE_DIR. Aborting."
+    exit 1
+  fi
+done
 
 cp Vanilla.spec $RPM_SPEC_DIR
 if [ $? -ne 0 ]; then