Fix chown typo
This commit is contained in:
parent
4ba13c7096
commit
8f8852c358
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue