mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Merge pull request #8 from yalh76/fix_ynh_install_php
Update _common.sh
This commit is contained in:
commit
a5bcb4a2cf
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ ynh_install_php () {
|
|||
ynh_add_app_dependencies --package="php${phpversion}-fpm"
|
||||
ynh_add_app_dependencies --package="php$phpversion php${phpversion}-common $package"
|
||||
|
||||
# Set php7.0 back as the default version for php-cli.
|
||||
update-alternatives --set php /usr/bin/php7.0
|
||||
|
||||
# Remove this extra repository after packages are installed
|
||||
ynh_remove_extra_repo --name=extra_php_version
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue