mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 02:04:58 +01:00
Update stirling-pdf.sh
tweak
This commit is contained in:
parent
fd0e3748bf
commit
1eaf2b2988
@ -65,8 +65,7 @@ cp -r ./build/libs/Stirling-PDF-*.jar /opt/Stirling-PDF/
|
|||||||
cp -r scripts /opt/Stirling-PDF/
|
cp -r scripts /opt/Stirling-PDF/
|
||||||
cd ~
|
cd ~
|
||||||
rm -rf Stirling-PDF-$RELEASE v$RELEASE.tar.gz
|
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 /opt/Stirling-PDF/Stirling-PDF-$RELEASE.jar /opt/Stirling-PDF/Stirling-PDF.jar
|
||||||
ln -sf "$latest_version" /opt/Stirling-PDF/Stirling-PDF.jar
|
|
||||||
systemctl start stirlingpdf
|
systemctl start stirlingpdf
|
||||||
msg_ok "Updated ${APP} to v$RELEASE"
|
msg_ok "Updated ${APP} to v$RELEASE"
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user