1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

Update _common.sh

This commit is contained in:
Sebastian Gumprich 2017-06-18 21:36:49 +02:00 committed by GitHub
parent c7f3a5ca9d
commit e6bcaedcf5

View file

@ -195,6 +195,10 @@ ynh_remove_nodejs () {
#
ynh_install_php7 () {
ynh_package_update
ynh_package_install apt-transport-https --no-install-recommends
architecture=$(uname -m)
if [ $architecture == "armv7l" ]; then
# arm package
@ -208,7 +212,6 @@ ynh_install_php7 () {
fi
ynh_package_update
ynh_package_install apt-transport-https --no-install-recommends
ynh_package_install php7.0 php7.0-fpm php7.0-mysql php7.0-xml php7.0-intl php7.0-mbstring --no-install-recommends
sudo update-alternatives --install /usr/bin/php php /usr/bin/php5 70
}