Update opengist.sh

This commit is contained in:
Michel Roegl-Brunner 2025-01-13 19:37:11 +01:00 committed by GitHub
parent 709ae1742e
commit ef5bb1bd28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,9 +42,9 @@ function update_script() {
wget -qO "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-amd64.tar.gz"
rm -rf /opt/opengist
tar -xzf opengist${RELEASE}-linux-amd64.tar.gz
rm -rf /opt/opengist${RELEASE}-linux-amd64.tar.gz
chmod +x /opt/opengist/opengist
echo "${RELEASE}" >"/opt/${APP}_version.txt"
rm -rf /opt/opengist${RELEASE}-linux-amd64.tar.gz
msg_ok "Updated ${APP} LXC"
msg_info "Starting Service"