Use first scalable icon in case there are multiple ones

E.g., in QElectroTech
This commit is contained in:
probonopd authored and GitHub committed 2018-11-18 06:38:05 +01:00
1 parent ea158e5e9e
commit c444540866
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@ echo "ICON_NAME: ${ICON_NAME}"
# Then, try scaleable icon from usr/share
# matching the Icon= entry in the desktop file
ICONFILE=$(find "$APPDIR" -name "$ICON_NAME.svg*" -path "*/scalable/*")
ICONFILE=$(find "$APPDIR" -name "$ICON_NAME.svg*" -path "*/scalable/*" | head -n 1)
# Then, try large icons from usr/share
# matching the Icon= entry in the desktop file