[csw-devel] SF.net SVN: gar:[12073] csw/mgar/pkg/exim/branches/dir-loc-fixes/files/ CSWexim.preinstall
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Wed Dec 22 20:34:32 CET 2010
Revision: 12073
http://gar.svn.sourceforge.net/gar/?rev=12073&view=rev
Author: bdwalton
Date: 2010-12-22 19:34:31 +0000 (Wed, 22 Dec 2010)
Log Message:
-----------
pkg/exim/branches/dir-loc-fixes: correct the preinstall script now that we are using cp instead of rsync
Modified Paths:
--------------
csw/mgar/pkg/exim/branches/dir-loc-fixes/files/CSWexim.preinstall
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-22 16:08:42 UTC (rev 12072)
+++ csw/mgar/pkg/exim/branches/dir-loc-fixes/files/CSWexim.preinstall 2010-12-22 19:34:31 UTC (rev 12073)
@@ -7,27 +7,16 @@
LOGNEW=${PIR}/var/opt/csw/log
COPY="cp -pR"
-if [ -x ${RSYNC} ]; then
- if [ -d "${SPOOLOLD}/exim" -a ! -d "${SPOOLNEW}/exim" ]; then
- echo "Transferring existing spool files to new location..."
- $COPY "${SPOOLOLD}/exim" "${SPOOLNEW}/"
- else
- echo "New spool directory exists already. Not touching anything."
- fi
+if [ -d "${SPOOLOLD}/exim" -a ! -d "${SPOOLNEW}/exim" ]; then
+ echo "Transferring existing spool files to new location..."
+ $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..."
- $COPY "${LOGOLD}/exim" "${LOGNEW}/"
- else
- echo "New log directory exists already. Not touching anything."
- fi
+if [ -d "${LOGOLD}/exim" -a ! -d "${LOGNEW}/exim" ]; then
+ echo "Transferring existing log files to new location..."
+ $COPY "${LOGOLD}/exim" "${LOGNEW}/"
else
- echo ""
- echo ""
- echo "********************************************************"
- echo "No rsync binary available at ${RSYNC}."
- echo "NOT MOVING your exim spool directory or log files!!!"
- echo "********************************************************"
- echo ""
- echo ""
+ 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