commit a65cb293e76f54232e42192aabc8e0a11d97de88
parent 1affad00d5a03b69b72fd1b3cafc9d534e4581c7
Author: Jaromil <jaromil@dyne.org>
Date: Fri, 13 May 2011 18:01:53 +0200
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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; \