summaryrefslogtreecommitdiffstats
path: root/remove_xdg_cmds_from_makefile.patch
blob: 8785e8b09721db31a36eadb122afff49b24732af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/anki/Makefile b/anki/Makefile
index 9f10a3a..6a3539b 100644
--- a/anki/Makefile
+++ b/anki/Makefile
@@ -20,15 +20,10 @@ install:
 	mv anki.xpm anki.png ${PREFIX}/share/pixmaps/;\
 	mv anki.desktop ${PREFIX}/share/applications/;\
 	mv anki.1 ${PREFIX}/share/man/man1/)
-	xdg-mime install anki.xml --novendor
-	xdg-mime default anki.desktop application/x-colpkg
-	xdg-mime default anki.desktop application/x-apkg
-	xdg-mime default anki.desktop application/x-ankiaddon
 	@echo
 	@echo "Install complete. Type 'anki' to run."
 
 uninstall:
-	-xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
 	rm -rf ${PREFIX}/share/anki
 	rm -rf ${PREFIX}/bin/anki
 	rm -rf ${PREFIX}/share/pixmaps/anki.xpm