Commit e58686f7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack generic-appimage: fix EXEC getting from desktop file

parent d142ce10
......@@ -55,7 +55,7 @@ if [ -r "$DESKTOPFILE" ] ; then
ICONNAME="$(cat $DESKTOPFILE | grep "^Icon=" | head -n1 | sed -e 's|Icon=||')"
FROMICONFILE="$ICONNAME.png"
EXEC="$(cat $DESKTOPFILE | grep "^Exec=" | head -n1 | sed -e 's|Exec=||')"
EXEC="$(cat $BUILDROOT/usr/share/applications/$DESKTOPFILE | grep "^Exec=" | head -n1 | sed -e 's|Exec=||' -e 's| .*||')"
if [ -n "$EXEC" ] && [ "$PRODUCT" != "$EXEC" ] ; then
PRODUCTCUR="$EXEC"
......
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