diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-05 04:24:27 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-05 04:24:27 +0000 |
commit | 0d4770a3036cac82ccee7fa18f9ae06be16af071 (patch) | |
tree | 3eda0d665c87410cdde8e6381078a368487be90a | |
parent | 27930d34f228826e5007f74a222a375d8240f691 (diff) |
More graceful removal of dir var/db using unexec, ala Porters
Handbook suggestion
PR: 29427
Submitted by: Pete Fritchman <petef@databits.net>
Notes
Notes:
svn path=/head/; revision=45817
-rw-r--r-- | net-mgmt/flowscan/pkg-plist | 3 | ||||
-rw-r--r-- | net/flowscan/pkg-plist | 3 |
2 files changed, 4 insertions, 2 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 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 |