mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
remove old symlink before installing a new version
https://forums.ankiweb.net/t/ubuntu-command-anki-not-found/6083/4
This commit is contained in:
parent
eca27b3710
commit
67191d339c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [ "$PREFIX" = "" ]; then
|
|||
PREFIX=/usr/local
|
||||
fi
|
||||
|
||||
rm -rf ${PREFIX}/share/anki
|
||||
rm -rf ${PREFIX}/share/anki ${PREFIX}/bin/anki
|
||||
mkdir -p ${PREFIX}/share/anki
|
||||
cp -av * ${PREFIX}/share/anki/
|
||||
mkdir -p ${PREFIX}/bin
|
||||
|
|
Loading…
Reference in a new issue