replace config token

This commit is contained in:
Frans Stofberg
2025-11-01 23:57:31 +02:00
parent 4171b1f9dc
commit 044bd6be71
2 changed files with 16 additions and 3 deletions

View File

@@ -41,8 +41,14 @@ function update_script() {
# Execute Update
msg_info "Updating $APP to ${RELEASE}"
curl -fsSL "https://github.com/donetick/donetick/releases/download/${RELEASE}/donetick_Linux_x86_64.tar.gz" | tar -xz -C .
mv donetick "/opt/donetick/donetick"
cd /opt/donetick
wget -q https://github.com/donetick/donetick/releases/download/${RELEASE}/donetick_Linux_x86_64.tar.gz
tar -xf donetick_Linux_x86_64.tar.gz
rm -rf /opt/donetick/donetick_Linux_x86_64.tar.gz
msg_ok "Updated $APP to ${RELEASE}"
# Starting Services