Use first scalable icon in case there are multiple ones
E.g., in QElectroTech
This commit is contained in:
1 parent
ea158e5e9e
commit
c444540866
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user