From a65cb293e76f54232e42192aabc8e0a11d97de88 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Fri, 13 May 2011 18:01:53 +0200 Subject: [PATCH] Revert "fix mime installation also when xdg-mime is not present" This reverts commit e8c7120fa4e0bd592bb5179be90d236a2befcadb. after testing we realize arch has xdg-mime the xdg-utils package should be in build-deps --- share/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/Makefile.am b/share/Makefile.am index 5aa10aa..139e0c6 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -30,7 +30,7 @@ MimePkg = tomb.mimepkg install-data-hook: @echo "installing mime type" - @if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; else mkdir -p $(datadir)/mime/packages; cp dyne-tomb.xml $(datadir)/mime/packages ; fi + @if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi @echo "installing icons"; @if ! [ -n `which xdg-icon-resource` ]; then \ xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort; \