[csw-devel] SF.net SVN: gar:[2353] csw/trunk/net/spamassassin

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Tue Nov 25 09:51:52 CET 2008


Revision: 2353
          http://gar.svn.sourceforge.net/gar/?rev=2353&view=rev
Author:   bonivart
Date:     2008-11-25 08:51:51 +0000 (Tue, 25 Nov 2008)

Log Message:
-----------
spamassassin: fixed bug 2870

Modified Paths:
--------------
    csw/trunk/net/spamassassin/checksums
    csw/trunk/net/spamassassin/files/CSWspamassassin.postinstall

Modified: csw/trunk/net/spamassassin/checksums
===================================================================
--- csw/trunk/net/spamassassin/checksums	2008-11-25 08:13:23 UTC (rev 2352)
+++ csw/trunk/net/spamassassin/checksums	2008-11-25 08:51:51 UTC (rev 2353)
@@ -2,4 +2,4 @@
 cab47048b63840594cdbef3067760ec6  download/CSWspamassassin.gspec
 7048882870e87e1f8eaa193b5dcaa7a8  download/CSWspamassassin.checkinstall
 ace3e9b5c2b93703e134992fcd73522b  download/CSWspamassassin.depend
-e0f6ee5c2ad9bb89342fcd46c70e6e7b  download/CSWspamassassin.postinstall
+b9e397df2e43ffe120332465da5fd68f  download/CSWspamassassin.postinstall

Modified: csw/trunk/net/spamassassin/files/CSWspamassassin.postinstall
===================================================================
--- csw/trunk/net/spamassassin/files/CSWspamassassin.postinstall	2008-11-25 08:13:23 UTC (rev 2352)
+++ csw/trunk/net/spamassassin/files/CSWspamassassin.postinstall	2008-11-25 08:51:51 UTC (rev 2353)
@@ -1,10 +1,10 @@
 # SA postinstall script to copy configuration files if they do not exist.
 # 2007-09-24 Replace BASEDIR with PKG_INSTALL_ROOT
-#
+# 2008-11-25 Added quotes on CONFDIR/SPAMDUSER in if-block
 
 # Reset permissions on the configuration directory if it existed before
 # package installation
-if [ -n ${CONFDIR} -a -n ${SPAMDUSER} ]; then
+if [ -n "${CONFDIR}" -a -n "${SPAMDUSER}" ]; then
    echo "   Resetting permissions on ${CONFDIR} to ${SPAMDUSER}:${SPAMDGROUP}."
    chown ${SPAMDUSER}:${SPAMDGROUP} ${CONFDIR}
 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