diff options
Diffstat (limited to 'textproc/opensearch-dashboards219/files/pkg-deinstall.in')
-rw-r--r-- | textproc/opensearch-dashboards219/files/pkg-deinstall.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/opensearch-dashboards219/files/pkg-deinstall.in b/textproc/opensearch-dashboards219/files/pkg-deinstall.in new file mode 100644 index 000000000000..0699ab559805 --- /dev/null +++ b/textproc/opensearch-dashboards219/files/pkg-deinstall.in @@ -0,0 +1,20 @@ +#!/bin/sh + +case "$2" in +POST-DEINSTALL) + if [ -d %%WWWDIR%%/optimize ]; then + /usr/bin/find %%WWWDIR%%/optimize/ -delete + fi + + cat <<EOMSG + +If %%PORTNAME%%%%PKGNAMESUFFIX%% is being deleted permanently, and you do not wish to keep any +data that was in the cluster, then you may wish to delete the +%%WWWDIR%% directory. This can be done by with the command: + + # rm -rf %%WWWDIR%% + +Please ignore this if %%PORTNAME%%%%PKGNAMESUFFIX%% is being upgraded +EOMSG + ;; +esac |