Commit 74466feb authored by Vitaly Lipatov's avatar Vitaly Lipatov

play php7/php8: ALT only

parent df1137a7
......@@ -2,6 +2,8 @@
[ "$1" != "--run" ] && echo "Install php7 (or upgrade from php5)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
if epmqp --quiet php5- ; then
# Upgrade if was installed php5
epmqp php5 --short | grep -E -v "(php5-mysql|suhosin|timezonedb|zend-optimizer|mongo|xdebug|openid)" | sed -e "s|php5|php7|" | epmi --auto
......
......@@ -2,6 +2,8 @@
[ "$1" != "--run" ] && echo "Install php8 (or upgrade from php7)" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
# TODO: check for apache2-mod_php7
if epmqp --quiet php7- ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment