Link Here
|
331 |
if [ -f "$entry_icon" ]; then |
331 |
if [ -f "$entry_icon" ]; then |
332 |
# if icon exists and entry does not already exists, add it |
332 |
# if icon exists and entry does not already exists, add it |
333 |
if ! grep -q -m 1 "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then |
333 |
if ! grep -q -m 1 "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then |
334 |
printf "\"${entry_exec}\" \t <${entry_icon}>\n" >> $ICONMAPPING |
334 |
printf "\"${execname}\" \t <${entry_icon}>\n" >> $ICONMAPPING |
335 |
else |
335 |
else |
336 |
: echo "# mapping already exists for ${entry_exec}" >> $ICONMAPPING |
336 |
: echo "# mapping already exists for ${entry_exec}" >> $ICONMAPPING |
337 |
fi |
337 |
fi |