1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Merge branch 'testing'

This commit is contained in:
anmol26s 2018-06-30 03:57:25 +05:30
commit d12f9ef1c9
3 changed files with 18 additions and 0 deletions

View file

@ -170,3 +170,9 @@ fi
#=================================================
systemctl reload php7.1-fpm
systemctl reload nginx
# Set default php to php5 or php7.0
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
update-alternatives --set php /usr/bin/php5
else
update-alternatives --set php /usr/bin/php7.0
fi

View file

@ -113,3 +113,9 @@ cd $final_path && sudo /usr/bin/php7.1 artisan passport:install
systemctl reload php7.1-fpm
systemctl reload nginx
# Set default php to php5 or php7.0
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
update-alternatives --set php /usr/bin/php5
else
update-alternatives --set php /usr/bin/php7.0
fi

View file

@ -184,3 +184,9 @@ fi
#=================================================
systemctl reload php7.1-fpm
systemctl reload nginx
# Set default php to php5 or php7.0
if [ "$(lsb_release --codename --short)" == "jessie" ]; then
update-alternatives --set php /usr/bin/php5
else
update-alternatives --set php /usr/bin/php7.0
fi