From ee21d1157ff4146a9b3b12fccba6a00bc23d796d Mon Sep 17 00:00:00 2001 From: Jaromil Date: Sun, 20 Feb 2011 20:16:20 +0100 Subject: [PATCH] update-desktop at share install is checked --- share/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/Makefile.am b/share/Makefile.am index 9bb83e5..3afe4b2 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -26,6 +26,6 @@ install-data-hook: @echo "installing icons"; @xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort @xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort - @echo "updating dekstop database"; update-desktop-database + @if ! [ -n `which update-desktop-database` ]; then echo update-desktop-database; update-desktop-database; fi @if ! [ -n `which update-menus` ]; then echo update-menus; update-menus; fi update-mime