From 38f466a77badbd44fa639224d2b54f696d2671c1 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 15 Aug 2022 19:38:52 +0200 Subject: [PATCH] Kleiner Bugfix --- logseq-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logseq-install.sh b/logseq-install.sh index 32944ab..540e371 100755 --- a/logseq-install.sh +++ b/logseq-install.sh @@ -48,7 +48,7 @@ getVersionLatest() { } getVersionCurrent() { - local FILENAME="$( ls -1rt ~/.local/bin/Logseq-*AppImage | head -n1 )" + local FILENAME="$( ls -1rt ~/.local/bin/Logseq-*AppImage 2>/dev/null | head -n1 )" if [ -n "$FILENAME" ]; then VERSION_CURRENT="$( echo $FILENAME | grep -Poi "Logseq-linux-x64-\K\d\.\d\.\d" | head -n 1 )" else