aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-08-05 12:24:27 +0800
committerlioux <lioux@FreeBSD.org>2001-08-05 12:24:27 +0800
commit8c5e65d8d8d2f04a952b38aea8d165213faf9d95 (patch)
tree9db308b6ce3611e25ed20c84834d7e7e9d2925af /net
parentf45d15bb3881c4dd3582a56bf6c2e594edcf1ea6 (diff)
downloadfreebsd-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')
-rw-r--r--net/flowscan/pkg-plist3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/flowscan/pkg-plist b/net/flowscan/pkg-plist
index 15d672abbdf8..e1f2a82a3d3b 100644
--- a/net/flowscan/pkg-plist
+++ b/net/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