Fix right permission in restore script

This commit is contained in:
anmol26s 2018-07-29 21:14:16 +05:30
parent e6ee0799ab
commit 2472f4b37b

View file

@ -133,8 +133,8 @@ ynh_restore_file "/etc/logrotate.d/$app"
yarn install --production --pure-lockfile --silent --cache-folder /var/cache/yarn/
)
# Set right permissions for curl install
chown -R "$app":"$app" "$datadir"
# Set right permissions
chown -R "$app":"$app" "$final_path"
#=================================================
# GENERIC FINALIZATION