File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ function default_settings() {
5454
5555function update_script() {
5656header_info
57- if [[ ! -d /opt/Stirling-PDF ]]; then msg_error " No ${APP} Installation Found!" ; exit ; fi
57+ if [[ ! -d /opt/komga ]]; then msg_error " No ${APP} Installation Found!" ; exit ; fi
5858msg_info " Updating ${APP} "
5959RELEASE=$( curl -s https://api.github.com/repos/gotson/komga/releases/latest | grep " tag_name" | awk ' {print substr($2, 3, length($2)-4) }' )
60- if [[ ! -d /opt/komga/komga-${RELEASE} ]].jar ; then
60+ if [[ ! -d /opt/komga/komga-${RELEASE} .jar ]]; then
6161 systemctl stop komga
6262 msg_info " Downloading ${APP} v$RELEASE "
6363 wget -q " https://github.com/gotson/komga/releases/download/v$RELEASE /komga-${RELEASE} .jar"
You can’t perform that action at this time.
0 commit comments