summaryrefslogtreecommitdiffstats
path: root/prefix-fix.patch
blob: af7e0597174e7515b0ee3259b281577ce3bb8954 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- anki/Makefile.orig
+++ anki/Makefile
@@ -10,7 +10,7 @@
 	mkdir -p ${PREFIX}/share/anki
 	cp -av * ${PREFIX}/share/anki/
 	mkdir -p ${PREFIX}/bin
-	ln -sf ${PREFIX}/share/anki/bin/anki ${PREFIX}/bin/
+	ln -sf /usr/share/anki/bin/anki ${PREFIX}/bin/
 	# fix a previous packaging issue where we created this as a file
 	(test -f ${PREFIX}/share/applications && rm ${PREFIX}/share/applications)||true
 	mkdir -p ${PREFIX}/share/pixmaps