mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
Fix path owner
This commit is contained in:
parent
097c138c71
commit
3b4603a338
2 changed files with 4 additions and 0 deletions
|
@ -299,6 +299,8 @@ chown -R "$app":"$app" "/var/log/$app"
|
|||
# MAKE SETUP
|
||||
#=================================================
|
||||
|
||||
chown -R "$app":"$app" "$final_path"
|
||||
|
||||
pushd $final_path
|
||||
sudo -u $app ./writefreely --init-db
|
||||
sudo -u $app ./writefreely --gen-keys
|
||||
|
|
|
@ -139,6 +139,8 @@ ynh_system_user_create "$app" "$final_path"
|
|||
# MAKE UPGRADE
|
||||
#=================================================
|
||||
|
||||
chown -R "$app":"$app" "$final_path"
|
||||
|
||||
pushd $final_path
|
||||
sudo -u $app ./writefreely --migrate
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue