mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
d8ef2d0111
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
26 lines
467 B
Bash
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!
|
|
# |