diff options
author | sem <sem@FreeBSD.org> | 2004-11-10 02:29:42 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-11-10 02:29:42 +0800 |
commit | 3b0c36d23343e9bca5cca23fde396ce8ebd8022e (patch) | |
tree | 9339c6e88aefd351780588cbf8602007faa15fc6 /security/nessus-devel/scripts | |
parent | 25ce5e6fc6c81550e3c36181acea6ab69fc9c9a9 (diff) | |
download | freebsd-ports-graphics-3b0c36d23343e9bca5cca23fde396ce8ebd8022e.tar.gz freebsd-ports-graphics-3b0c36d23343e9bca5cca23fde396ce8ebd8022e.tar.zst freebsd-ports-graphics-3b0c36d23343e9bca5cca23fde396ce8ebd8022e.zip |
- Add a hint on complete removal when deinstalling
PR: ports/73729
Submitted by: maintainer
Diffstat (limited to 'security/nessus-devel/scripts')
-rw-r--r-- | security/nessus-devel/scripts/pkg-deinstall | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/security/nessus-devel/scripts/pkg-deinstall b/security/nessus-devel/scripts/pkg-deinstall new file mode 100644 index 00000000000..fd0c844465c --- /dev/null +++ b/security/nessus-devel/scripts/pkg-deinstall @@ -0,0 +1,30 @@ +#!/bin/sh +# +# $FreeBSD: /tmp/pcvs/ports/security/nessus-devel/scripts/Attic/pkg-deinstall,v 1.1 2004-11-09 18:29:42 sem Exp $ +# + +ECHO_CMD=echo + +case $2 in +POST-DEINSTALL) + ${ECHO_CMD} + ${ECHO_CMD} "The %%PKGNAME%% server package has been deleted." + ${ECHO_CMD} "If you're *not* upgrading and won't be using" + ${ECHO_CMD} "it any longer, you may want to issue the" + ${ECHO_CMD} "following commands:" + ${ECHO_CMD} + if [ -d %%PREFIX%%/var/nessus ]; then + ${ECHO_CMD} "- to delete the nessus server permanently (losing all data):" + ${ECHO_CMD} " rm -Rf %%PREFIX%%/var/nessus" + ${ECHO_CMD} + fi + if [ -d %%PREFIX%%/com/CA ]; then + ${ECHO_CMD} "- to remove the Certificate Authority associated with nessus:" + ${ECHO_CMD} " rm -Rf %%PREFIX%%/com/CA" + ${ECHO_CMD} + fi + ${ECHO_CMD} "If you are upgrading, don't forget to restart" + ${ECHO_CMD} "nessusd and updating the plugins." + ${ECHO_CMD} + ;; +esac |