Kleiner Bugfix
This commit is contained in:
parent
d89cea4e70
commit
38f466a77b
@ -48,7 +48,7 @@ getVersionLatest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getVersionCurrent() {
|
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
|
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
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user