Merge Komga from Main

This commit is contained in:
CanbiZ 2024-12-12 14:58:32 +01:00
parent 8bfb1a990d
commit a17081a7e0

View File

@ -28,7 +28,7 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /opt/komga/komga*.jar ]]; then
if [[ ! -f /opt/komga/komga.jar ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
@ -40,8 +40,8 @@ function update_script() {
msg_ok "Stopped ${APP}"
msg_info "Updating ${APP} to ${RELEASE}"
rm -rf /opt/komga/komga*.jar
wget -q "https://github.com/gotson/komga/releases/download/v${RELEASE}/komga-${RELEASE}.jar"
wget -q "https://github.com/gotson/komga/releases/download/${RELEASE}/komga-${RELEASE}.jar"
rm -rf /opt/komga/komga.jar
mv -f komga-${RELEASE}.jar /opt/komga/komga.jar
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP} to ${RELEASE}"