mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Fix chown
This commit is contained in:
parent
d5da4924cb
commit
8fa0da9e39
3 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ ynh_system_user_create "$app" "$final_path"
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
chown -R $app:$app /var/log/$app
|
chown -R $app:$app /var/log/$app
|
||||||
|
|
||||||
chown -R $app: $final_path
|
chown -R "$app":"$app" "$final_path"
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save
|
sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save
|
||||||
|
|
|
@ -74,7 +74,7 @@ ynh_system_user_create "$app" "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Restore permissions on app files
|
||||||
chown -R $app:$app $final_path
|
chown -R "$app":"$app" "$final_path"
|
||||||
|
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
chown -R $app:$app /var/log/$app
|
chown -R $app:$app /var/log/$app
|
||||||
|
|
|
@ -116,7 +116,7 @@ ynh_system_user_create "$app" "$final_path"
|
||||||
# ...
|
# ...
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
chown -R $app: $final_path
|
chown -R "$app":"$app" "$final_path"
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
|
|
Loading…
Reference in a new issue