freebsd-ports/www/hydra/files/pkg-deinstall.in
Pav Lucistnik 92a340f3ba - Update to 0.1.8
- Move WWW root in default config
- Create log dir to avoid initial errors
- Add rc.d script
- Take maintainership

PR:		ports/96298
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-04-25 20:05:38 +00:00

19 lines
357 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
case $2 in
DEINSTALL)
;;
POST-DEINSTALL)
if [ ! -d %%LOGDIR%% ] ; then
rmdir %%LOGDIR%%
else
echo "--------------------------------------------"
echo " Don't forget to delete %%LOGDIR%% when"
echo " you've finished with hydra's log files."
echo "--------------------------------------------"
fi
;;
esac