diff options
author | yar <yar@FreeBSD.org> | 2005-01-25 20:01:34 +0800 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2005-01-25 20:01:34 +0800 |
commit | 4d174d59f4c95eb3743fe2c286133452697b7583 (patch) | |
tree | 462d2809c4e272d94a3230cd27d71cc5182a24aa /security/clamav-devel | |
parent | 930b40344f109b4be21a385784badd830af78d26 (diff) | |
download | freebsd-ports-graphics-4d174d59f4c95eb3743fe2c286133452697b7583.tar.gz freebsd-ports-graphics-4d174d59f4c95eb3743fe2c286133452697b7583.tar.zst freebsd-ports-graphics-4d174d59f4c95eb3743fe2c286133452697b7583.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-devel')
-rw-r--r-- | security/clamav-devel/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist index 5c5fb5dcfc6..40083b15d9a 100644 --- a/security/clamav-devel/pkg-plist +++ b/security/clamav-devel/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 |