From ca48993e01e46fb6caf7e67d31ad05ccef44564a Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 8 Jan 2024 06:34:39 -0500 Subject: [PATCH] Update stirlingpdf-install.sh tweak --- install/stirlingpdf-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/stirlingpdf-install.sh b/install/stirlingpdf-install.sh index 63c5763c..a99bf679 100644 --- a/install/stirlingpdf-install.sh +++ b/install/stirlingpdf-install.sh @@ -83,7 +83,7 @@ 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 current_version=$(echo "$latest_version" | grep -oP '(?<=Stirling-PDF-)\d+(\.\d+)+(?=\.jar)') -msg_ok "Installed Stirling-PDF version $current_version" +msg_ok "Installed Stirling-PDF v$current_version" msg_info "Creating Service" cat </etc/systemd/system/stirlingpdf.service @@ -113,7 +113,7 @@ motd_ssh customize msg_info "Cleaning up" -# cd ~ && rm -rf Stirling-PDF configs customFiles logs zulu-repo_1.0.0-3_all.deb +rm -rf /zulu-repo_1.0.0-3_all.deb $STD apt-get autoremove $STD apt-get autoclean msg_ok "Cleaned"