summaryrefslogtreecommitdiff
path: root/www/shellinabox/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/shellinabox/files/pkg-deinstall.in')
-rw-r--r--www/shellinabox/files/pkg-deinstall.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/shellinabox/files/pkg-deinstall.in b/www/shellinabox/files/pkg-deinstall.in
new file mode 100644
index 000000000000..34bd114de51d
--- /dev/null
+++ b/www/shellinabox/files/pkg-deinstall.in
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+PATH=/bin:/usr/bin:/usr/sbin
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+if [ -d %%PREFIX%%/etc/shellinabox ]; then
+ echo "===> You may delete '%%PREFIX%%/etc/shellinabox' if you want to remove the SSL certificate left."
+fi