diff options
Diffstat (limited to 'prefix-fix.patch')
-rw-r--r-- | prefix-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/prefix-fix.patch b/prefix-fix.patch new file mode 100644 index 0000000..f462e06 --- /dev/null +++ b/prefix-fix.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- anki-2.1.9-linux-amd64/Makefile.orig 2019-03-04 19:24:16.040322000 +0100 | ||
2 | +++ anki-2.1.9-linux-amd64/Makefile 2019-03-04 19:29:45.048864131 +0100 | ||
3 | @@ -10,7 +10,7 @@ | ||
4 | mkdir -p ${PREFIX}/share/anki | ||
5 | cp -av * ${PREFIX}/share/anki/ | ||
6 | mkdir -p ${PREFIX}/bin | ||
7 | - ln -sf ${PREFIX}/share/anki/bin/anki ${PREFIX}/bin/ | ||
8 | + ln -sf /usr/share/anki/bin/anki ${PREFIX}/bin/ | ||
9 | # fix a previous packaging issue where we created this as a file | ||
10 | (test -f ${PREFIX}/share/applications && rm ${PREFIX}/share/applications)||true | ||
11 | mkdir -p ${PREFIX}/share/pixmaps | ||