freebsd-ports/databases/phpmyadmin211/pkg-deinstall-suphp
Thierry Thomas d8ef2d0111 - moves the default installation directory to /usr/local/www/phpMyAdmin
instead of /usr/local/www/data/phpMyAdmin

- Improves handling config files, making them not world readable
  by default.

- Generates pkg-plist dynamically

- Adds a WITH_SUPHP option

PR:		ports/66697
Submitted by:	maintainer
2004-05-20 16:29:49 +00:00

26 lines
467 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
case $2 in
POST-DEINSTALL)
cat <<EOMSG
The phpMyAdmin-suphp port has been deleted.
If you are not upgrading and don't intend to use
phpMyAdmin any more then you may wish to delete
the %%MYADMUSR%% account, which can be done with
the following command:
# pw userdel %%MYADMUSR%%
EOMSG
if [ -d %%PREFIX%%/%%MYADMDIR%% ] ; then
echo " # rm -rf %%PREFIX%%/%%MYADMDIR%%/"
fi
echo
;;
esac
#
# That's All Folks!
#