diff options
author | yar <yar@FreeBSD.org> | 2005-01-25 20:03:50 +0800 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2005-01-25 20:03:50 +0800 |
commit | 7ac29958be56fbfe74b8aade4e0d575ea8f804bb (patch) | |
tree | 3a7f2de1636212016a791b00a141d8251a504053 /security/clamav | |
parent | 4d174d59f4c95eb3743fe2c286133452697b7583 (diff) | |
download | freebsd-ports-graphics-7ac29958be56fbfe74b8aade4e0d575ea8f804bb.tar.gz freebsd-ports-graphics-7ac29958be56fbfe74b8aade4e0d575ea8f804bb.tar.zst freebsd-ports-graphics-7ac29958be56fbfe74b8aade4e0d575ea8f804bb.zip |
Don't leave the pkgconfig data directory rotting there
if we are the last to clean it up.
Pointed out by: kris' magic tools
Approved by: Rob Evers (maintainer)
Diffstat (limited to 'security/clamav')
-rw-r--r-- | security/clamav/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index 5c5fb5dcfc6..40083b15d9a 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -17,6 +17,7 @@ lib/libclamav.so.1 lib/libclamav.so lib/libclamav.a libdata/pkgconfig/libclamav.pc +@unexec rmdir %B 2>/dev/null || true @unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.default; then rm -f %D/etc/clamd.conf; fi etc/clamd.conf.default @exec [ -f %B/clamd.conf ] || cp %B/%f %B/clamd.conf |