mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 10:38:59 +00:00
fix mime installation also when xdg-mime is not present
tested on arch
This commit is contained in:
parent
6cb3571ed9
commit
e8c7120fa4
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user