From f267ee196e4b00cc18cc68719c6e7bcf689138b5 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 7 Feb 2024 06:21:18 -0500 Subject: [PATCH] Update readeck.sh tweak --- ct/readeck.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ct/readeck.sh b/ct/readeck.sh index 1c01b161..cc5204ba 100644 --- a/ct/readeck.sh +++ b/ct/readeck.sh @@ -56,8 +56,7 @@ function update_script() { header_info if [[ ! -d /opt/readeck ]]; then msg_error "No ${APP} Installation Found!"; exit; fi msg_info "Updating ${APP}" -LATEST=$(curl -s https://codeberg.org/readeck/readeck/releases/ | grep -oP '(?<=Version )\d+\.\d+\.\d+' | head -1 -) +LATEST=$(curl -s https://codeberg.org/readeck/readeck/releases/ | grep -oP '(?<=Version )\d+\.\d+\.\d+' | head -1) systemctl stop readeck.service rm -rf /opt/readeck/readeck cd /opt/readeck