1#!/bin/sh
2
3case "$2" in
4POST-DEINSTALL)
5	if [ -d %%WWWDIR%%/optimize ]; then
6		/usr/bin/find %%WWWDIR%%/optimize/ -delete
7	fi
8
9	cat <<EOMSG
10
11If %%PORTNAME%%%%PKGNAMESUFFIX%% is being deleted permanently, and you do not wish to keep any
12data that was in the cluster, then you may wish to delete the
13%%WWWDIR%% directory.  This can be done by with the command:
14
15	# rm -rf %%WWWDIR%%
16
17Please ignore this if %%PORTNAME%%%%PKGNAMESUFFIX%% is being upgraded
18EOMSG
19    ;;
20esac
21