Revision: 2362 http://gar.svn.sourceforge.net/gar/?rev=2362&view=rev Author: dmichelsen Date: 2008-11-26 15:04:27 +0000 (Wed, 26 Nov 2008)
Log Message: ----------- mgar spamassassin: Merge in [2353] from trunk to mgar Modified Paths: -------------- csw/mgar/pkg/spamassassin/trunk/checksums csw/mgar/pkg/spamassassin/trunk/files/CSWspamassassin.postinstall Modified: csw/mgar/pkg/spamassassin/trunk/checksums =================================================================== --- csw/mgar/pkg/spamassassin/trunk/checksums 2008-11-26 14:58:56 UTC (rev 2361) +++ csw/mgar/pkg/spamassassin/trunk/checksums 2008-11-26 15:04:27 UTC (rev 2362) @@ -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/mgar/pkg/spamassassin/trunk/files/CSWspamassassin.postinstall =================================================================== --- csw/mgar/pkg/spamassassin/trunk/files/CSWspamassassin.postinstall 2008-11-26 14:58:56 UTC (rev 2361) +++ csw/mgar/pkg/spamassassin/trunk/files/CSWspamassassin.postinstall 2008-11-26 15:04:27 UTC (rev 2362) @@ -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. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel