mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
catch attempt to install from git
This commit is contained in:
parent
c74e955615
commit
427670b565
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -4,6 +4,7 @@ all:
|
|||
@echo "Uninstall with 'sudo make uninstall'"
|
||||
|
||||
install:
|
||||
@test ! -d .git || (echo "Install from git is not supported. Please use a tarball."; false)
|
||||
rm -rf /usr/share/anki
|
||||
mkdir -p /usr/share/anki
|
||||
cp -av * /usr/share/anki/
|
||||
|
|
Loading…
Reference in a new issue