[FIX] proper links for alternc.ini and php. Fixes #49

This commit is contained in:
Benjamin Sonntag 2016-08-26 16:33:13 +02:00
parent 4f3604e717
commit 5bae6babfb
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,8 @@ rm -f $SED_SCRIPT
#
php="`ls /usr/lib/apache*/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1`"
ln -fs /etc/alternc/alternc.ini /etc/$php/conf.d/alternc.ini || true
ln -fs /etc/alternc/alternc.ini /etc/$php/apache2/conf.d/alternc.ini || true
ln -fs /etc/alternc/alternc.ini /etc/$php/cli/conf.d/alternc.ini || true
if [ -x /usr/sbin/apache2 ]; then
# hook
run-parts --arg=apache2 /usr/lib/alternc/install.d