Set symlink /usr/local/php to php- if requested.

This commit is contained in:
Christoph 2017-06-23 03:53:09 +02:00
parent d8bd594f38
commit 5836c3de37

View File

@ -1221,7 +1221,7 @@ if $SYMLINK_PHP ; then
if [ -L /usr/local/php ];then
rm -f /usr/local/php
fi
ln -s `basename $PREFIX_PHP` /usr/local/php
ln -s php-$MAJOR_VERSION /usr/local/php
if [ "$?" = "0" ]; then
echo_ok
else