From 946114f59eda770781bbcb3d73ebe1f387c81b3a Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 22 Nov 2023 09:49:18 -0500 Subject: [PATCH] Update linkwarden.sh tweak --- ct/linkwarden.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/linkwarden.sh b/ct/linkwarden.sh index a94bdea5..0a10b1d9 100644 --- a/ct/linkwarden.sh +++ b/ct/linkwarden.sh @@ -56,8 +56,8 @@ if [[ ! -d /opt/linkwarden ]]; then msg_error "No ${APP} Installation Found!"; e msg_info "Updating $APP" systemctl stop linkwarden cd /opt/linkwarden -if git pull | grep 'Already up to date'; then - echo -e "Exiting script.${CL}" +if git pull | grep -q 'Already up to date'; then + msg_ok "Already up to date" systemctl start linkwarden exit fi