Fix detection of xdg-icon-resource
If given more than one argument, 'which' prints the path to each one (if found). Previously, which was passed two arguments: 'xdg-icon-resource', and 'install'. But in the contained block of statements, 'install' is an argument passed to 'xdg-icon-resource'. Pass only 'xdg-icon-resource' to which.
This commit is contained in:
parent
4120af3b5f
commit
38bc3b27d8
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -942,7 +942,7 @@ install-nokia770:
|
|||
install-xdg: src/tuxpaint.desktop src/org.tuxpaint.Tuxpaint.appdata.xml
|
||||
@echo
|
||||
@echo "...Installing launcher icon into desktop environment..."
|
||||
@if [ "x$(shell which xdg-icon-resource install)" != "x" ]; then \
|
||||
@if [ "x$(shell which xdg-icon-resource)" != "x" ]; then \
|
||||
xdg-icon-resource install --size 192 data/images/icon192x192.png tux4kids-tuxpaint ; \
|
||||
xdg-icon-resource install --size 128 data/images/icon128x128.png tux4kids-tuxpaint ; \
|
||||
xdg-icon-resource install --size 96 data/images/icon96x96.png tux4kids-tuxpaint ; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue