Bugfix: Mehrstellige Versionsnummern wurden nicht erkannt
This commit is contained in:
parent
e44f255477
commit
88e2d588f0
@ -76,7 +76,7 @@ getVersionCurrent() {
|
||||
|
||||
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 )"
|
||||
VERSION_CURRENT="$( echo "$FILENAME" | grep -Poi "Logseq-linux-x64-\K\d+\.\d+\.\d+" | head -n 1 )"
|
||||
else
|
||||
VERSION_CURRENT=
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user