Revert "fix mime installation also when xdg-mime is not present"

This reverts commit e8c7120fa4.

after testing we realize arch has xdg-mime

the xdg-utils package should be in build-deps
This commit is contained in:
Jaromil 2011-05-13 18:01:53 +02:00
parent 1affad00d5
commit a65cb293e7

View File

@ -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; \