[csw-devel] SF.net SVN: gar:[14664] csw/mgar/pkg/exim/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon May 30 03:49:05 CEST 2011


Revision: 14664
          http://gar.svn.sourceforge.net/gar/?rev=14664&view=rev
Author:   bdwalton
Date:     2011-05-30 01:49:05 +0000 (Mon, 30 May 2011)

Log Message:
-----------
exim/trunk: drop preremove script since preserveconf handles this now

Modified Paths:
--------------
    csw/mgar/pkg/exim/trunk/Makefile

Removed Paths:
-------------
    csw/mgar/pkg/exim/trunk/files/CSWexim.preremove

Modified: csw/mgar/pkg/exim/trunk/Makefile
===================================================================
--- csw/mgar/pkg/exim/trunk/Makefile	2011-05-30 01:44:43 UTC (rev 14663)
+++ csw/mgar/pkg/exim/trunk/Makefile	2011-05-30 01:49:05 UTC (rev 14664)
@@ -16,7 +16,7 @@
 
 MASTER_SITES = ftp://ftp.exim.org/pub/exim/exim4/
 DISTFILES  = $(NAME)-$(VERSION).tar.bz2
-DISTFILES += CSWexim.postinstall CSWexim.postremove CSWexim.preremove
+DISTFILES += CSWexim.postinstall CSWexim.postremove
 DISTFILES += CSWexim.request CSWexim.cswreleasenotes
 
 # NOTE TO FUTURE MAINTAINERS: This patch should be thoroughly reviewed

Deleted: csw/mgar/pkg/exim/trunk/files/CSWexim.preremove
===================================================================
--- csw/mgar/pkg/exim/trunk/files/CSWexim.preremove	2011-05-30 01:44:43 UTC (rev 14663)
+++ csw/mgar/pkg/exim/trunk/files/CSWexim.preremove	2011-05-30 01:49:05 UTC (rev 14664)
@@ -1,17 +0,0 @@
-#!/sbin/sh
-
-CONFDIR=$PKG_INSTALL_ROOT/opt/csw/etc/exim
-CONFFILES="aliases exim.conf exim-env.sh"
-PATH=/bin:/usr/bin:"$PATH"
-export PATH
-
-for file in $CONFFILES; do
-  confpath="$CONFDIR/$file"
-  diff "$confpath" "$confpath.CSW" >/dev/null 2>&1
-  if [ $? != 0 ]; then
-    echo "Not touching modified $confpath"
-  else
-    echo "Removing unmodified $confpath"
-    rm -f "$confpath"
-  fi
-done


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