mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-05 10:52:49 +00:00
freshrss: fix for broken permissions after update (#7953)
Added permission check and fix for sensitive-log.sh.
This commit is contained in:
@@ -27,8 +27,16 @@ function update_script() {
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ ! -x /opt/freshrss/cli/sensitive-log.sh ]; then
|
||||
msg_info "Fixing wrong permissions"
|
||||
chmod +x /opt/freshrss/cli/sensitive-log.sh
|
||||
systemctl restart apache2
|
||||
msg_ok "Fixed wrong permissions"
|
||||
else
|
||||
msg_error "FreshRSS should be updated via the user interface."
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
start
|
||||
|
||||
Reference in New Issue
Block a user