tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit e8c7120fa4e0bd592bb5179be90d236a2befcadb
parent 6cb3571ed941b1bdd1160e4f76b4db46fad5c63e
Author: Jaromil <jaromil@dyne.org>
Date:   Fri, 13 May 2011 16:29:59 +0200

fix mime installation also when xdg-mime is not present

tested on arch

Diffstat:
Mshare/Makefile.am | 2+-
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; fi + @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 @echo "installing icons"; @if ! [ -n `which xdg-icon-resource` ]; then \ xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort; \