mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
chmod/chown install_dir in restore
This commit is contained in:
parent
7d3b175835
commit
0e28012847
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ systemctl status couchdb
|
|||
# RESTORE THE APP MAIN DIR
|
||||
ynh_script_progression --message="Restoring the app main directory..." --weight=10
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
chmod -R 644 $install_dir
|
||||
chown -R root:$app $install_dir
|
||||
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
ynh_script_progression --message="Restoring the data directory..." --weight=1
|
||||
|
|
Loading…
Reference in a new issue