diff options
author | DX37 | 2017-08-12 11:02:10 +0700 |
---|---|---|
committer | DX37 | 2017-08-12 11:02:10 +0700 |
commit | 0007fc7c077b6d82edb2ca67422286b4045e508e (patch) | |
tree | 6377adcdb3c088481ae8c96d536c2ebd1f9be80b /xlunch-create-entry | |
parent | 8e0cc992db9e37633989600918601de977c3502f (diff) | |
download | aur-0007fc7c077b6d82edb2ca67422286b4045e508e.tar.gz |
Get latest changes for xlunch-create-entry
Diffstat (limited to 'xlunch-create-entry')
-rwxr-xr-x | xlunch-create-entry | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xlunch-create-entry b/xlunch-create-entry index 6dcef1779e60..46fc2d4179d2 100755 --- a/xlunch-create-entry +++ b/xlunch-create-entry @@ -16,15 +16,15 @@ echo "/$1" | grep ".desktop" | while read DESKTOPFILE; do fi if [ "$ICONNAME" != "" ]; then - ICON="$(find "$PIXMAPS" | grep $ICONNAME"[.]png" | head -n 1)" + ICON="$(find "$PIXMAPS" | grep $ICONNAME"[.]png$" | head -n 1)" if [ "$ICON" == "" ]; then - ICON="$(find "$ICONS" | grep $SIZE"x"$SIZE | grep $ICONNAME"[.]png" | head -n 1)" + ICON="$(find "$ICONS" | grep $SIZE"x"$SIZE | grep $ICONNAME"[.]png$" | head -n 1)" fi if [ "$ICON" == "" ]; then - ICON="$(find "$ICONS" | grep "scalable" | grep -E $ICONNAME"[.]png" | head -n 1)" + ICON="$(find "$ICONS" | grep "scalable" | grep -E $ICONNAME"[.]png$" | head -n 1)" if [ "$ICON" == "" ]; then - SVGICON="$(find "$ICONS" | grep "scalable" | grep -E $ICONNAME"[.]svg" | head -n 1)" + SVGICON="$(find "$ICONS" | grep "scalable" | grep -E $ICONNAME"[.]svg$" | head -n 1)" if type convert >/dev/null 2>&1; then if [ "$SVGICON" != "" ]; then mkdir -p "svgicons" |