mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
make sure install.sh is run from the correct folder
https://forums.ankiweb.net/t/upgrade-doesnt-work-free-disk-space-is-written-full/10500/2
This commit is contained in:
parent
4325f867a7
commit
6e724ea480
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
if ! test -f install.sh; then
|
||||
echo "Please run from the folder install.sh is in."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$PREFIX" = "" ]; then
|
||||
PREFIX=/usr/local
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue