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:
parent
ac55f98f90
commit
56b9804c61
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue