blob: 3dc6095f494b177005f7d4413aff53a2e6b0560a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- install.sh.orig 2020-12-10 06:36:44.000000000 +0100
+++ install.sh 2020-12-30 14:54:50.834734784 +0100
@@ -15,7 +15,7 @@
mkdir -p "$PREFIX"/share/anki
cp -av * "$PREFIX"/share/anki/
mkdir -p "$PREFIX"/bin
-ln -sf "$PREFIX"/share/anki/bin/Anki "$PREFIX"/bin/anki
+ln -sf /usr/share/anki/bin/Anki "$PREFIX"/bin/anki
# 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
@@ -26,9 +26,4 @@
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 "Install complete. Type 'anki' to run."
|