mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
manage buster during restore
This commit is contained in:
parent
fa276165c9
commit
262b63c1ac
1 changed files with 7 additions and 3 deletions
|
@ -77,11 +77,15 @@ ynh_print_info --message="Restoring user rights..."
|
|||
chown -R "$app": "$final_path"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PHP
|
||||
# INSTALL PHP7.3
|
||||
#=================================================
|
||||
ynh_print_info --message="Installing php..."
|
||||
|
||||
ynh_install_php --phpversion="7.3" --package="$extra_pkg_dependencies"
|
||||
if [ "$(lsb_release --codename --short)" = "buster" ]; then
|
||||
pkg_dependencies="$pkg_dependencies $extra_pkg_dependencies"
|
||||
else
|
||||
ynh_print_info --message="Installing php7.3..."
|
||||
ynh_install_php --phpversion="7.3" --package="$extra_pkg_dependencies"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue