diff options
Diffstat (limited to 'databases/phpmyadmin211/pkg-deinstall-suphp')
-rw-r--r-- | databases/phpmyadmin211/pkg-deinstall-suphp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/phpmyadmin211/pkg-deinstall-suphp b/databases/phpmyadmin211/pkg-deinstall-suphp new file mode 100644 index 0000000..f5991ec --- /dev/null +++ b/databases/phpmyadmin211/pkg-deinstall-suphp @@ -0,0 +1,26 @@ +#!/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! +#
\ No newline at end of file |