[csw-devel] SF.net SVN: gar:[12056] csw/mgar/pkg/exim/branches/dir-loc-fixes

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Dec 21 02:28:59 CET 2010


Revision: 12056
          http://gar.svn.sourceforge.net/gar/?rev=12056&view=rev
Author:   bdwalton
Date:     2010-12-21 01:28:59 +0000 (Tue, 21 Dec 2010)

Log Message:
-----------
exim/dir-loc-fixes: on second though, cp -pR should be sufficient instead of using rsync

Modified Paths:
--------------
    csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile
    csw/mgar/pkg/exim/branches/dir-loc-fixes/files/CSWexim.preinstall

Modified: csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile
===================================================================
--- csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile	2010-12-20 23:56:05 UTC (rev 12055)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/Makefile	2010-12-21 01:28:59 UTC (rev 12056)
@@ -30,7 +30,7 @@
 RUNTIME_DEP_PKGS_CSWexim  = CSWiconv CSWoldaprt CSWosslrt CSWsasl
 RUNTIME_DEP_PKGS_CSWexim += CSWmysql5rt CSWlibpq CSWlibspf2
 RUNTIME_DEP_PKGS_CSWexim += CSWgzip CSWgzipextras
-RUNTIME_DEP_PKGS_CSWexim += CSWpcrert CSWrsync
+RUNTIME_DEP_PKGS_CSWexim += CSWpcrert
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2

Modified: csw/mgar/pkg/exim/branches/dir-loc-fixes/files/CSWexim.preinstall
===================================================================
--- csw/mgar/pkg/exim/branches/dir-loc-fixes/files/CSWexim.preinstall	2010-12-20 23:56:05 UTC (rev 12055)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/files/CSWexim.preinstall	2010-12-21 01:28:59 UTC (rev 12056)
@@ -5,19 +5,19 @@
 SPOOLNEW=${PIR}/var/opt/csw/spool
 LOGOLD=${PIR}/opt/csw/var/log
 LOGNEW=${PIR}/var/opt/csw/log
-RSYNC=${PIR}/opt/csw/bin/rsync
+COPY="cp -pR"
 
 if [ -x ${RSYNC} ]; then
     if [ -d "${SPOOLOLD}/exim" -a ! -d "${SPOOLNEW}/exim" ]; then
 	echo "Transferring existing spool files to new location..."
-	$RSYNC -a --numeric-uids "${SPOOLOLD}/exim" "${SPOOLNEW}/"
+	$COPY "${SPOOLOLD}/exim" "${SPOOLNEW}/"
     else
 	echo "New spool directory exists already.  Not touching anything."
     fi
 
     if [ -d "${LOGOLD}/exim" -a ! -d "${LOGNEW}/exim" ]; then
 	echo "Transferring existing log files to new location..."
-	$RSYNC -a --numeric-uids "${LOGOLD}/exim" "${LOGNEW}/"
+	$COPY "${LOGOLD}/exim" "${LOGNEW}/"
     else
 	echo "New log directory exists already.  Not touching anything."
     fi


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list