aboutsummaryrefslogtreecommitdiff
path: root/security/nessus-devel/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'security/nessus-devel/pkg-plist')
-rw-r--r--security/nessus-devel/pkg-plist14
1 files changed, 7 insertions, 7 deletions
diff --git a/security/nessus-devel/pkg-plist b/security/nessus-devel/pkg-plist
index 888c58c17474..f1263b9acaa5 100644
--- a/security/nessus-devel/pkg-plist
+++ b/security/nessus-devel/pkg-plist
@@ -27,12 +27,12 @@ sbin/nessusd
@exec mkdir -p %D/var/nessus/logs
@exec mkdir -p %D/var/nessus/users
@unexec if [ ! -s %D/var/nessus/logs/nessusd.messages ]; then rm %D/var/nessus/logs/nessusd.messages 2> /dev/null; fi || true
-@unexec rmdir %D/var/nessus/jobs 2>/dev/null || true
-@unexec rmdir %D/var/nessus/logs 2>/dev/null || true
-@unexec rmdir %D/var/nessus/users 2>/dev/null || true
-@unexec rmdir %D/var/nessus 2>/dev/null || true
-@unexec rmdir %D/etc/nessus 2>/dev/null || true
+@dirrmtry var/nessus/jobs
+@dirrmtry var/nessus/logs
+@dirrmtry var/nessus/users
+@dirrmtry var/nessus
+@dirrmtry etc/nessus
@exec mkdir -p %D/lib/nessus/plugins
-@unexec rmdir %D/lib/nessus/plugins 2>/dev/null || true
-@unexec rmdir %D/lib/nessus 2>/dev/null || true
+@dirrmtry lib/nessus/plugins
+@dirrmtry lib/nessus
@exec if [ ! -f %D/var/CA/serverkey.pem ]; then %D/sbin/nessus-mkcert; fi