Fix chown typo

This commit is contained in:
Jean-Baptiste Holcroft 2018-05-21 10:24:05 +02:00
parent 4ba13c7096
commit 8f8852c358
2 changed files with 3 additions and 3 deletions

View file

@ -144,7 +144,7 @@ ynh_add_nginx_config
# Set right permissions for curl install
chown -R "$app":"app" "$datadir"
chown -R "$app":"$app" "$datadir"
# Reload Nginx
systemctl reload nginx

View file

@ -81,7 +81,7 @@ ynh_system_user_create "$app"
# Set right permissions
datadir="/home/yunohost.app/${app}/storage"
chown -R "$app":"app" "$datadir"
chown -R "$app":"$app" "$datadir"
#=================================================
# SPECIFIC RESTORATION
@ -133,7 +133,7 @@ ynh_restore_file "/etc/logrotate.d/$app"
(cd "$final_path" && yarn install --production --pure-lockfile)
# Set right permissions for curl install
chown -R "$app":"app" "$datadir"
chown -R "$app":"$app" "$datadir"
#=================================================
# GENERIC FINALIZATION