commit ee21d1157ff4146a9b3b12fccba6a00bc23d796d
parent 81be1fa619de813332c6bbbac7d3edea01bf7710
Author: Jaromil <jaromil@dyne.org>
Date:   Sun, 20 Feb 2011 20:16:20 +0100
update-desktop at share install is checked
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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