1
0
Fork 0
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:
ericgaspar 2021-07-02 21:12:08 +02:00
parent 6a4f6d53af
commit a65557e3ac
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -65,6 +65,10 @@ ynh_script_progression --message="Restoring $app main directory..."
ynh_restore_file --origin_path="$final_path" 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 # RESTORE THE CONFIG
#================================================= #=================================================
@ -72,9 +76,9 @@ ynh_script_progression --message="Restoring the config path..."
ynh_restore_file --origin_path="$config_path" ynh_restore_file --origin_path="$config_path"
chmod 750 "$final_path" chmod 750 "$config_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$config_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$config_path"
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION