summaryrefslogtreecommitdiffstats
path: root/www/zope210/pkg-plist
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2003-08-28 18:55:15 +0000
committernbm <nbm@FreeBSD.org>2003-08-28 18:55:15 +0000
commitc4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5 (patch)
treef731bc25c6d511fcca5922d700083b457bf79f93 /www/zope210/pkg-plist
parent296c861425e66c6fd5472fe22df855c1dc683c22 (diff)
downloadFreeBSD-ports-c4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5.zip
FreeBSD-ports-c4bc8de60afa7f9e73952b35bd8f11c8ecc14cd5.tar.gz
Don't list Data.fs, as it's precious and should not be overwritten when
a package update is done. Also, install zope.sh.sample, and copy it to zope.sh if zope.sh doesn't already exist.
Diffstat (limited to 'www/zope210/pkg-plist')
-rw-r--r--www/zope210/pkg-plist6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/zope210/pkg-plist b/www/zope210/pkg-plist
index 361ab2e..59bbc77 100644
--- a/www/zope210/pkg-plist
+++ b/www/zope210/pkg-plist
@@ -1,6 +1,8 @@
%%APACHE_CONFDIR%%/apache.conf.Zope-Changes
-etc/rc.d/zope.sh
-%%ZOPEBASEDIR%%/var/Data.fs
+@unexec if cmp -s %D/etc/rc.d/zope.sh.sample %D/etc/rc.d/zope.sh; then rm -f %D/etc/rc.d/zope.sh; fi
+etc/rc.d/zope.sh.sample
+@exec if [ ! -f %B/zope.sh ]; then cp %B/%f %B/zope.sh; fi
+@unexec if cmp -s %D/%%ZOPEBASEDIR%%/var/Data.fs %D/%%ZOPEBASEDIR%%/var/Data.fs; then rm -f %D/%%ZOPEBASEDIR%%/var/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/Extensions/README.txt
OpenPOWER on IntegriCloud