mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
Fix restore script
This commit is contained in:
parent
fe5b2cbb69
commit
f9128326e3
1 changed files with 2 additions and 6 deletions
|
@ -26,12 +26,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
||||||
|
|
||||||
ynh_restore_file --origin_path="$install_dir"
|
ynh_restore_file --origin_path="$install_dir"
|
||||||
|
|
||||||
#=================================================
|
chmod -R o-rwx "$install_dir"
|
||||||
# RESTORE USER RIGHTS
|
chown -R $app:www-data "$install_dir"
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# Restore permissions on app files
|
|
||||||
chown -R root: "$install_dir"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
|
|
Loading…
Reference in a new issue