Update stirling-pdf-install.sh

tweak
This commit is contained in:
tteckster 2024-01-08 08:21:33 -05:00 committed by GitHub
parent aad569dc0d
commit fd0e3748bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -82,8 +82,7 @@ mkdir -p /opt/Stirling-PDF
touch /opt/Stirling-PDF/.env touch /opt/Stirling-PDF/.env
mv ./build/libs/Stirling-PDF-*.jar /opt/Stirling-PDF/ mv ./build/libs/Stirling-PDF-*.jar /opt/Stirling-PDF/
mv scripts /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 /opt/Stirling-PDF/Stirling-PDF-$RELEASE.jar /opt/Stirling-PDF/Stirling-PDF.jar
ln -s "$latest_version" /opt/Stirling-PDF/Stirling-PDF.jar
msg_ok "Installed Stirling-PDF v$RELEASE" msg_ok "Installed Stirling-PDF v$RELEASE"
msg_info "Creating Service" msg_info "Creating Service"