include unconditionnaly our phpmyadmin config, because in the etch

version (2.9), config.inc.php gets called multiple times, which ends up
not including our config in later includes

Closes: #1052
This commit is contained in:
Antoine Beaupré 2007-10-05 18:51:54 +00:00
parent 82dcc64da5
commit 0b976cbf5a
1 changed files with 1 additions and 1 deletions

2
debian/postinst vendored
View File

@ -145,7 +145,7 @@ EOF
/usr/share/alternc/install/upgrade_check.sh $2
echo "config phpmyadmin"
include_str='include_once("/etc/alternc/phpmyadmin.inc.php")'
include_str='include("/etc/alternc/phpmyadmin.inc.php")'
pma_config=/etc/phpmyadmin/config.inc.php
if ! grep -e "$include_str" $pma_config > /dev/null 2>&1; then
echo "<?php $include_str ?>" >> $pma_config