freebsd-ports/textproc/opensearch-dashboards/files/pkg-deinstall.in
Romain Tartière 19e156d514
textproc/opensearch-dashboards: New port
OpenSearch Dashboards is the default visualization tool for data in OpenSearch.
It also serves as a user interface for many of the OpenSearch plugins,
including security, alerting, Index State Management, SQL, and more.

WWW: http://opensearch.org

With hat:	opensearch
2021-09-19 09:33:47 -10:00

20 lines
470 B
Bash

#!/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