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

change the script backup

This commit is contained in:
Rodolphe Robles 2020-04-04 16:06:51 +02:00
parent ac55f98f90
commit 56b9804c61

View file

@ -49,6 +49,7 @@ ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
# RESTORE THE APP MAIN DIR # RESTORE THE APP MAIN DIR
#================================================= #=================================================
ynh_script_progression --message="Restoring the app main directory..." --time --weight=1
ynh_restore_file "$final_path" ynh_restore_file "$final_path"
@ -73,7 +74,6 @@ chown -R $app:$app $final_path
if [ "$(lsb_release --codename --short)" != "jessie" ] if [ "$(lsb_release --codename --short)" != "jessie" ]
then then
ynh_restore_file --origin_path="/etc/php/7.0/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/php/7.0/fpm/pool.d/$app.conf"
ynh_restore_file --origin_path="/etc/php/7.0/fpm/conf.d/20-$app.ini"
else else
ynh_die --message="Votre version de Debian n'est pas compatible..." ynh_die --message="Votre version de Debian n'est pas compatible..."
fi fi