aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-05-22 00:28:59 +0800
committerolgeni <olgeni@FreeBSD.org>2001-05-22 00:28:59 +0800
commit03e369ea3b4a8770805ebe74e6a0a82359090ac8 (patch)
tree29152301e73e08cf2bae5b50f882ee5ab8ebe526
parent67f7248d2b92d3cc6974873a7a2f535e7c35a66f (diff)
downloadfreebsd-ports-gnome-03e369ea3b4a8770805ebe74e6a0a82359090ac8.tar.gz
freebsd-ports-gnome-03e369ea3b4a8770805ebe74e6a0a82359090ac8.tar.zst
freebsd-ports-gnome-03e369ea3b4a8770805ebe74e6a0a82359090ac8.zip
Try to remove ${PREFIX}/lib/nessus and ${PREFIX}/var at deinstall time.
(var is not in the "local" mtree)
-rw-r--r--security/nessus-devel/pkg-plist2
-rw-r--r--security/nessus/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/security/nessus-devel/pkg-plist b/security/nessus-devel/pkg-plist
index 1af5f7ff233a..4dc277bdea1a 100644
--- a/security/nessus-devel/pkg-plist
+++ b/security/nessus-devel/pkg-plist
@@ -11,4 +11,6 @@ include/nessus/nessusudp.h
include/nessus/ntcompat.h
sbin/nessusd
@unexec rmdir %D/var/nessus 2>/dev/null || true
+@unexec rmdir %D/var 2>/dev/null || true
+@unexec rmdir %D/lib/nessus 2>/dev/null || true
@unexec rmdir %D/etc/nessus 2>/dev/null || true
diff --git a/security/nessus/pkg-plist b/security/nessus/pkg-plist
index 1af5f7ff233a..4dc277bdea1a 100644
--- a/security/nessus/pkg-plist
+++ b/security/nessus/pkg-plist
@@ -11,4 +11,6 @@ include/nessus/nessusudp.h
include/nessus/ntcompat.h
sbin/nessusd
@unexec rmdir %D/var/nessus 2>/dev/null || true
+@unexec rmdir %D/var 2>/dev/null || true
+@unexec rmdir %D/lib/nessus 2>/dev/null || true
@unexec rmdir %D/etc/nessus 2>/dev/null || true