From a91ff408807fda1cc461a0176f3ab32b0ca8dbc6 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 6 Oct 2022 09:55:56 +0200 Subject: [PATCH] =?UTF-8?q?Kein=20Update=20einspielen,=20wenn=20Logseq=20l?= =?UTF-8?q?=C3=A4uft.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logseq-install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/logseq-install.sh b/logseq-install.sh index 7a6526b..74ba153 100755 --- a/logseq-install.sh +++ b/logseq-install.sh @@ -168,6 +168,10 @@ echo "Derzeit installierte Version... $COLOR_GREEN${VERSION_CURRENT:-${COLOR_RED [ "$VERSION_CURRENT" != "$VERSION_LATEST" ] || exit +if [ "$( pgrep -ifcx ~/.local/bin/Logseq )" -ne 0 ]; then + err "Logseq sollte erst geschlossen werden, bevor das Update eingespielt wird" +fi + echo "Logseq Download gestartet" getLatest createDesktop