[FIX] proper links for alternc.ini and php. Fixes #49
This commit is contained in:
parent
4f3604e717
commit
5bae6babfb
|
@ -280,7 +280,8 @@ rm -f $SED_SCRIPT
|
||||||
#
|
#
|
||||||
|
|
||||||
php="`ls /usr/lib/apache*/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1`"
|
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
|
if [ -x /usr/sbin/apache2 ]; then
|
||||||
# hook
|
# hook
|
||||||
run-parts --arg=apache2 /usr/lib/alternc/install.d
|
run-parts --arg=apache2 /usr/lib/alternc/install.d
|
||||||
|
|
Loading…
Reference in New Issue