catch attempt to install from git

This commit is contained in:
Damien Elmes 2012-07-04 19:35:37 +09:00
parent c74e955615
commit 427670b565

View file

@ -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/