Commit 4f1b65d8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack.d/generic-appimage.sh: add workaround for empty version in the desktop file

parent b5d55127
......@@ -26,7 +26,7 @@ fi
$TAR --appimage-extract >/dev/null || fatal
DESKTOPFILE="$(echo squashfs-root/*.desktop | head -n1)"
str="$(grep '^X-AppImage-Version=' $DESKTOPFILE)"
str="$(grep '^X-AppImage-Version=[0-9]' $DESKTOPFILE)"
if [ -n "$str" ] ; then
VERSION="$(echo $str | sed -e 's|.*X-AppImage-Version=||')"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment