diff options
| -rw-r--r-- | share/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/share/Makefile.am b/share/Makefile.am index 85d0b5d..b521f6e 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -10,7 +10,8 @@ Icons_DATA = hasciicam.png # $(datadir)/app-install/icons install-data-hook: - xdg-icon-resource install --size 64 hasciicam.png dyne-hasciicam - update-desktop-database - update-menus + @if ! [ -n `which xdg-icon-resource` ]; then \ + xdg-icon-resource install --size 64 hasciicam.png dyne-hasciicam; fi + @if ! [ -n `which update-desktop-database` ]; then update-desktop-database; fi + @if ! [ -n `which update-menus` ]; then update-menus; fi |

