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"