aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-06-18 23:14:38 +0800
committerbapt <bapt@FreeBSD.org>2016-06-18 23:14:38 +0800
commit03592b76ed54b08201da5b32baca352a4f6a03fc (patch)
tree9faddcfe2cb60db381e528ea2fdd93163db7bfb1 /databases
parent3293053314b784d3696c775d761cb83a2e8d2ec3 (diff)
downloadfreebsd-ports-gnome-03592b76ed54b08201da5b32baca352a4f6a03fc.tar.gz
freebsd-ports-gnome-03592b76ed54b08201da5b32baca352a4f6a03fc.tar.zst
freebsd-ports-gnome-03592b76ed54b08201da5b32baca352a4f6a03fc.zip
Use explicit @post* rather than @exec
Diffstat (limited to 'databases')
-rw-r--r--databases/mongodb/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/mongodb/pkg-plist b/databases/mongodb/pkg-plist
index 7cdffd99d9cb..b91137a9b6c7 100644
--- a/databases/mongodb/pkg-plist
+++ b/databases/mongodb/pkg-plist
@@ -1,5 +1,5 @@
-@unexec if [ ! -s %D/etc/mongodb.conf ]; then /bin/rm -f %D/etc/mongodb.conf; fi
-@exec if [ ! -f %D/etc/mongodb.conf ]; then /usr/bin/touch %D/etc/mongodb.conf; fi
+@postunexec if [ ! -s %D/etc/mongodb.conf ]; then /bin/rm -f %D/etc/mongodb.conf; fi
+@postexec if [ ! -f %D/etc/mongodb.conf ]; then /usr/bin/touch %D/etc/mongodb.conf; fi
bin/bsondump
bin/mongo
bin/mongod