Fix rm bug in Vikunja update (#692)

* Script Update: Vikunja

* Change Request
This commit is contained in:
Michel Roegl-Brunner 2024-12-05 13:13:50 +01:00 committed by GitHub
parent 871fd6517d
commit cff3fa8696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,7 +67,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
msg_info "Updating ${APP} to ${RELEASE}"
cd /opt
rm -rf /opt/*
rm -rf /opt/vikunja/vikunja
wget -q "https://dl.vikunja.io/vikunja/$RELEASE/vikunja-$RELEASE-amd64.deb"
DEBIAN_FRONTEND=noninteractive dpkg -i vikunja-$RELEASE-amd64.deb &>/dev/null
echo "${RELEASE}" >/opt/${APP}_version.txt