mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Update upgrade
This commit is contained in:
parent
ae9078c956
commit
d06f1c97b1
1 changed files with 5 additions and 2 deletions
|
@ -180,8 +180,11 @@ fi
|
||||||
# SECURE FILES AND DIRECTORIES
|
# SECURE FILES AND DIRECTORIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restrict rights to Wallabag user only
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
chmod 600 $wb_conf
|
then
|
||||||
|
# Restrict rights to Wallabag user only
|
||||||
|
chmod 600 $wb_conf
|
||||||
|
fi
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue