summaryrefslogtreecommitdiffstats
path: root/remove_xdg_cmds_from_makefile.patch
blob: a3a46617212e731a02ac6333eac5911629ceae6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- anki/Makefile.old
+++ anki/Makefile
@@ -20,14 +20,14 @@
 	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 install anki.xml --novendor
+#	xdg-mime default anki.desktop application/x-colpkg
+#	xdg-mime default anki.desktop application/x-apkg
 	@echo
 	@echo "Install complete. Type 'anki' to run."

 uninstall:
-	-xdg-mime uninstall ${PREFIX}/share/anki/anki.xml
+#	-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