Skip to content

Commit 6356e1e

Browse files
committed
generate_desktop_scripts: only pick up one icon if more exist
1 parent cd68db6 commit 6356e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/generate_desktop_scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if [ -f /opt/eclipse/eclipse ]; then
44
SCRATCH_DIR=$(mktemp -d);
5-
ICON_FILE=$(find /opt/eclipse -name eclipse256.png)
5+
ICON_FILE=$(find /opt/eclipse -name eclipse256.png | head -n 1)
66
echo "[Desktop Entry]
77
Type=Application
88
Version=1.0

0 commit comments

Comments
 (0)