mirror of
https://github.com/YunoHost-Apps/thelounge_ynh.git
synced 2024-09-03 20:35:54 +02:00
Update restore
This commit is contained in:
parent
6a4f6d53af
commit
a65557e3ac
1 changed files with 7 additions and 3 deletions
|
@ -65,6 +65,10 @@ ynh_script_progression --message="Restoring $app main directory..."
|
|||
|
||||
ynh_restore_file --origin_path="$final_path"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE CONFIG
|
||||
#=================================================
|
||||
|
@ -72,9 +76,9 @@ ynh_script_progression --message="Restoring the config path..."
|
|||
|
||||
ynh_restore_file --origin_path="$config_path"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chmod 750 "$config_path"
|
||||
chmod -R o-rwx "$config_path"
|
||||
chown -R $app:www-data "$config_path"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
|
Loading…
Add table
Reference in a new issue