summarylogtreecommitdiffstats
path: root/nessus.install
diff options
context:
space:
mode:
Diffstat (limited to 'nessus.install')
-rw-r--r--nessus.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/nessus.install b/nessus.install
index 4b91e9d7e51e..a47928dc091a 100644
--- a/nessus.install
+++ b/nessus.install
@@ -51,9 +51,27 @@ post_install() {
echo " - See https://wiki.archlinux.org/index.php/Nessus for documentation."
echo
+ echo "### License Agreement ###"
+ echo "Please read the License Agreement at /usr/share/licenses/nessus/LICENSE"
+ echo "because it was automatically accepted for you in order to provide an"
+ echo "automatic install."
+ echo "By using Nessus you wil agree with the License Terms."
+ echo "If you don't agree with the License please uninstall nessus."
+ echo
ldconfig
}
+post_upgrade() {
+ echo
+ echo "### License Agreement ###"
+ echo "Please read the License Agreement at /usr/share/licenses/nessus/LICENSE"
+ echo "because it was automatically accepted for you in order to provide an"
+ echo "automatic install."
+ echo "By using Nessus you wil agree with the License Terms."
+ echo "If you don't agree with the License please uninstall nessus."
+ echo
+}
+
pre_remove() {
if [[ -f /usr/lib/systemd/system/${NESSUS_SERVICE_NAME}.service ]]; then
systemctl stop ${NESSUS_SERVICE_NAME}.service