From c722f2ed360219b98f652db6d0f99738ae114e8d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:20:18 +0100 Subject: [PATCH] Update Identions and Spaces --- ct/bookstack.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ct/bookstack.sh b/ct/bookstack.sh index 0744f965..2e6e3235 100644 --- a/ct/bookstack.sh +++ b/ct/bookstack.sh @@ -37,6 +37,7 @@ function update_script() { msg_info "Stopping Apache2" systemctl stop apache2 msg_ok "Services Stopped" + msg_info "Updating ${APP} to v${RELEASE}" mv /opt/bookstack /opt/bookstack-backup wget -q --directory-prefix=/root/ "https://github.com/BookStackApp/BookStack/archive/refs/tags/v${RELEASE}.zip" @@ -55,10 +56,12 @@ function update_script() { chmod -R 775 /opt/bookstack/storage /opt/bookstack/bootstrap/cache /opt/bookstack/public/uploads chmod -R 640 /opt/bookstack/.env echo "${RELEASE}" >/opt/${APP}_version.txt - msg_ok "Updated ${APP}" - msg_info "Starting Apache2 " + msg_ok "Updated ${APP} to v${RELEASE}" + + msg_info "Starting Apache2" systemctl start apache2 msg_ok "Started Apache2" + msg_info "Cleaning Up" rm -rf /opt/bookstack-backup rm -rf ~/v${RELEASE}.zip