Kein Update einspielen, wenn Logseq läuft.

This commit is contained in:
Tim Peters 2022-10-06 09:55:56 +02:00
parent c70a750b9e
commit a91ff40880
1 changed files with 4 additions and 0 deletions

View File

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