From 1eaf2b2988badf910aced5e5a6df574553bfac48 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 8 Jan 2024 08:23:08 -0500 Subject: [PATCH] Update stirling-pdf.sh tweak --- ct/stirling-pdf.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index 4e3373b0..8e86cbc3 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -65,8 +65,7 @@ cp -r ./build/libs/Stirling-PDF-*.jar /opt/Stirling-PDF/ cp -r scripts /opt/Stirling-PDF/ cd ~ rm -rf Stirling-PDF-$RELEASE v$RELEASE.tar.gz -latest_version=$(ls -1 /opt/Stirling-PDF/Stirling-PDF-*.jar | sort -V | tail -n 1) -ln -sf "$latest_version" /opt/Stirling-PDF/Stirling-PDF.jar +ln -sf /opt/Stirling-PDF/Stirling-PDF-$RELEASE.jar /opt/Stirling-PDF/Stirling-PDF.jar systemctl start stirlingpdf msg_ok "Updated ${APP} to v$RELEASE" exit