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
|
# Set right permissions for curl install
|
||||||
chown -R "$app":"app" "$datadir"
|
chown -R "$app":"$app" "$datadir"
|
||||||
|
|
||||||
# Reload Nginx
|
# Reload Nginx
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
|
|
|
@ -81,7 +81,7 @@ ynh_system_user_create "$app"
|
||||||
|
|
||||||
# Set right permissions
|
# Set right permissions
|
||||||
datadir="/home/yunohost.app/${app}/storage"
|
datadir="/home/yunohost.app/${app}/storage"
|
||||||
chown -R "$app":"app" "$datadir"
|
chown -R "$app":"$app" "$datadir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
|
@ -133,7 +133,7 @@ ynh_restore_file "/etc/logrotate.d/$app"
|
||||||
(cd "$final_path" && yarn install --production --pure-lockfile)
|
(cd "$final_path" && yarn install --production --pure-lockfile)
|
||||||
|
|
||||||
# Set right permissions for curl install
|
# Set right permissions for curl install
|
||||||
chown -R "$app":"app" "$datadir"
|
chown -R "$app":"$app" "$datadir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue