diff options
author | lioux <lioux@FreeBSD.org> | 2001-08-05 12:24:27 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-08-05 12:24:27 +0800 |
commit | 8c5e65d8d8d2f04a952b38aea8d165213faf9d95 (patch) | |
tree | 9db308b6ce3611e25ed20c84834d7e7e9d2925af /net-mgmt/flowscan | |
parent | f45d15bb3881c4dd3582a56bf6c2e594edcf1ea6 (diff) | |
download | freebsd-ports-gnome-8c5e65d8d8d2f04a952b38aea8d165213faf9d95.tar.gz freebsd-ports-gnome-8c5e65d8d8d2f04a952b38aea8d165213faf9d95.tar.zst freebsd-ports-gnome-8c5e65d8d8d2f04a952b38aea8d165213faf9d95.zip |
More graceful removal of dir var/db using unexec, ala Porters
Handbook suggestion
PR: 29427
Submitted by: Pete Fritchman <petef@databits.net>
Diffstat (limited to 'net-mgmt/flowscan')
-rw-r--r-- | net-mgmt/flowscan/pkg-plist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/flowscan/pkg-plist b/net-mgmt/flowscan/pkg-plist index 15d672abbdf8..e1f2a82a3d3b 100644 --- a/net-mgmt/flowscan/pkg-plist +++ b/net-mgmt/flowscan/pkg-plist @@ -27,5 +27,6 @@ share/doc/flowscan/flowscan.sample @dirrm var/db/flows/graphs @dirrm var/db/flows/bin @dirrm var/db/flows -@dirrm var/db +@unexec rmdir %D/var/db 2>/dev/null || true +@unexec rmdir %D/var 2>/dev/null || true @dirrm share/doc/flowscan |