#!/bin/sh
# $FreeBSD: head/www/ajaxplorer/files/pkg-deinstall.in 319563 2013-06-01 13:05:48Z madpilot $

if [ "$2" != "POST-DEINSTALL" ]; then
	exit 0
fi

if [ -d /usr/local/www/ajaxplorer ]; then
	wf=`find /usr/local/www/ajaxplorer -not -type d | wc -l`

	if [ $wf -ne 0 ]; then
		echo "NOTE:"
		echo "There are still some configuration, state and/or data files left"
		echo "in /usr/local/www/ajaxplorer."
		echo "If you want to completely remove ajaxplorer use"
		echo "'rm -rf /usr/local/www/ajaxplorer' to delete them."
		echo
	fi
fi

exit 0
