Skip to content

Commit

Permalink
Unix desktop integration: Fix icon find
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Ribelotta <[email protected]>
  • Loading branch information
martinribelotta committed Jan 31, 2018
1 parent 26008c8 commit d4d0924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ide/skeleton/desktop-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if [ "x$1" = "x--install" ]; then
# Install the icon files for the application; TODO: scalable
ICONS=$(find "${APPDIR}" -iwholename "*/${APP}.png" 2>/dev/null || true)
if [ -z $ICONS ]; then
ICONS=$(find tmp/ -name $(grep "^Icon=" $DESKTOPFILE |head -n 1|cut -f 2 -d '=').png)
ICONS=$(find "${APPDIR}" -name $(grep "^Icon=" $DESKTOPFILE |head -n 1|cut -f 2 -d '=').png)
fi
echo "Icons for ${APP} on ${APPDIR} ${ICONS}"
for ICON in $ICONS ; do
Expand Down

0 comments on commit d4d0924

Please sign in to comment.