forked from sloum/bombadillo
Use update-desktop-database instead of xdg-mime
This commit is contained in:
parent
82b47d8c86
commit
0c0ce2ceb1
6
Makefile
6
Makefile
|
@ -43,9 +43,7 @@ ifeq ($(shell uname), Linux)
|
|||
install -m 0644 ./bombadillo.desktop ${DESTDIR}${DATAROOTDIR}/applications
|
||||
install -d ${DESTDIR}${DATAROOTDIR}/pixmaps
|
||||
install -m 0644 ./bombadillo-icon.png ${DESTDIR}${DATAROOTDIR}/pixmaps
|
||||
-xdg-mime default bombadillo.desktop x-scheme-handler/gopher
|
||||
-xdg-mime default bombadillo.desktop x-scheme-handler/gemini
|
||||
-xdg-mime default bombadillo.desktop x-scheme-handler/finger
|
||||
-update-desktop-database 2> /dev/null
|
||||
else
|
||||
@echo "* Skipping protocol handler associations and desktop file creation for non-linux system *"
|
||||
endif
|
||||
|
@ -66,6 +64,8 @@ uninstall: clean
|
|||
rm -f ${DESTDIR}${BINDIR}/${BINARY}
|
||||
rm -f ${DESTDIR}${DATAROOTDIR}/applications/bombadillo.desktop
|
||||
rm -f ${DESTDIR}${DATAROOTDIR}/pixmaps/bombadillo-icon.png
|
||||
-update-desktop-database 2> /dev/null
|
||||
|
||||
|
||||
.PHONY: test
|
||||
test: clean build
|
||||
|
|
Loading…
Reference in New Issue