File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,16 @@ function update_script() {
2727 msg_error " No ${APP} Installation Found!"
2828 exit
2929 fi
30- msg_error " FreshRSS should be updated via the user interface."
31- exit
30+
31+ if [ ! -x /opt/freshrss/cli/sensitive-log.sh ]; then
32+ msg_info " Fixing wrong permissions"
33+ chmod +x /opt/freshrss/cli/sensitive-log.sh
34+ systemctl restart apache2
35+ msg_ok " Fixed wrong permissions"
36+ else
37+ msg_error " FreshRSS should be updated via the user interface."
38+ exit
39+ fi
3240}
3341
3442start
@@ -38,4 +46,4 @@ description
3846msg_ok " Completed Successfully!\n"
3947echo -e " ${CREATING}${GN}${APP} setup has been successfully initialized!${CL} "
4048echo -e " ${INFO}${YW} Access it using the following URL:${CL} "
41- echo -e " ${TAB}${GATEWAY}${BGN} http://${IP}${CL} "
49+ echo -e " ${TAB}${GATEWAY}${BGN} http://${IP}${CL} "
You can’t perform that action at this time.
0 commit comments