1
0
Fork 0
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:
Kayou 2020-04-05 20:49:19 +02:00 committed by GitHub
parent ae9078c956
commit d06f1c97b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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