diff options
author | bapt <bapt@FreeBSD.org> | 2016-06-18 23:14:38 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-06-18 23:14:38 +0800 |
commit | 03592b76ed54b08201da5b32baca352a4f6a03fc (patch) | |
tree | 9faddcfe2cb60db381e528ea2fdd93163db7bfb1 /databases | |
parent | 3293053314b784d3696c775d761cb83a2e8d2ec3 (diff) | |
download | freebsd-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-plist | 4 |
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 |