19e156d514
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
20 lines
470 B
Bash
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
|