forked from Lainports/freebsd-ports
- Update databases/phpmyadmin to 4.0.0
Version 4.0.0 is the first release of a new major version, and
involves some significant changes in functionality. In particular it
now requires Javascript in order to operate.
Provide a new phpmyadmin35 port to track the 3.5.x branch for those
not wishing to upgrade yet. Note that you will have to adjust your
httpd.conf if you switch to this port, as it installs the application to
${LOCALBASE}/www/phpMyAdmin35
25 lines
355 B
Bash
25 lines
355 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PATH=/usr/sbin:/usr/bin:/bin ; export PATH
|
|
|
|
WWWDIR=%%WWWDIR%%
|
|
pma_usr=%%PMA_USR%%
|
|
pma_grp=%%PMA_GRP%%
|
|
|
|
case $2 in
|
|
|
|
POST-INSTALL)
|
|
|
|
# Change ownership of the phpMyAdm directory
|
|
|
|
echo "===> Adjusting file ownership in $WWWDIR"
|
|
chown -R $pma_usr:$pma_grp $WWWDIR || exit 1
|
|
;;
|
|
esac
|
|
|
|
#
|
|
# That's All Folks!
|
|
#
|