Update linkwarden.sh

tweak
This commit is contained in:
tteckster 2023-11-22 09:49:18 -05:00 committed by GitHub
parent 778c58f49e
commit 946114f59e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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