diff options
Diffstat (limited to 'install_sh.patch')
-rw-r--r-- | install_sh.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/install_sh.patch b/install_sh.patch index e436b84..3dc6095 100644 --- a/install_sh.patch +++ b/install_sh.patch | |||
@@ -1,18 +1,18 @@ | |||
1 | --- install.sh.orig 2020-12-10 06:36:44.000000000 +0100 | 1 | --- install.sh.orig 2020-12-10 06:36:44.000000000 +0100 |
2 | +++ install.sh 2020-12-30 14:54:50.834734784 +0100 | 2 | +++ install.sh 2020-12-30 14:54:50.834734784 +0100 |
3 | @@ -10,7 +10,7 @@ | 3 | @@ -15,7 +15,7 @@ |
4 | mkdir -p ${PREFIX}/share/anki | 4 | mkdir -p "$PREFIX"/share/anki |
5 | cp -av * ${PREFIX}/share/anki/ | 5 | cp -av * "$PREFIX"/share/anki/ |
6 | mkdir -p ${PREFIX}/bin | 6 | mkdir -p "$PREFIX"/bin |
7 | -ln -sf ${PREFIX}/share/anki/bin/Anki ${PREFIX}/bin/anki | 7 | -ln -sf "$PREFIX"/share/anki/bin/Anki "$PREFIX"/bin/anki |
8 | +ln -sf /usr/share/anki/bin/Anki ${PREFIX}/bin/anki | 8 | +ln -sf /usr/share/anki/bin/Anki "$PREFIX"/bin/anki |
9 | # fix a previous packaging issue where we created this as a file | 9 | # fix a previous packaging issue where we created this as a file |
10 | (test -f ${PREFIX}/share/applications && rm ${PREFIX}/share/applications)||true | 10 | (test -f "$PREFIX"/share/applications && rm "$PREFIX"/share/applications)||true |
11 | mkdir -p ${PREFIX}/share/pixmaps | 11 | mkdir -p "$PREFIX"/share/pixmaps |
12 | @@ -21,9 +21,4 @@ | 12 | @@ -26,9 +26,4 @@ |
13 | mv anki.desktop ${PREFIX}/share/applications/;\ | 13 | mv anki.desktop "$PREFIX"/share/applications/;\ |
14 | mv anki.1 ${PREFIX}/share/man/man1/) | 14 | mv anki.1 "$PREFIX"/share/man/man1/) |
15 | 15 | ||
16 | -xdg-mime install anki.xml --novendor | 16 | -xdg-mime install anki.xml --novendor |
17 | -xdg-mime default anki.desktop application/x-colpkg | 17 | -xdg-mime default anki.desktop application/x-colpkg |
18 | -xdg-mime default anki.desktop application/x-apkg | 18 | -xdg-mime default anki.desktop application/x-apkg |