From fd0e3748bf0bba0de62deff7bc17ed0a1812d8e6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 8 Jan 2024 08:21:33 -0500 Subject: [PATCH] Update stirling-pdf-install.sh tweak --- install/stirling-pdf-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index 353d8269..43cb89a8 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -82,8 +82,7 @@ mkdir -p /opt/Stirling-PDF touch /opt/Stirling-PDF/.env mv ./build/libs/Stirling-PDF-*.jar /opt/Stirling-PDF/ mv scripts /opt/Stirling-PDF/ -latest_version=$(ls -1 /opt/Stirling-PDF/Stirling-PDF-*.jar | sort -V | tail -n 1) -ln -s "$latest_version" /opt/Stirling-PDF/Stirling-PDF.jar +ln -s /opt/Stirling-PDF/Stirling-PDF-$RELEASE.jar /opt/Stirling-PDF/Stirling-PDF.jar msg_ok "Installed Stirling-PDF v$RELEASE" msg_info "Creating Service"