mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 09:01:01 +00:00
Return a different code when git isn't installed
This commit is contained in:
parent
7a82953b3e
commit
0a258f85be
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ fi
|
||||||
# Check for wallabag .git folder
|
# Check for wallabag .git folder
|
||||||
if [ ! -d .git ]; then
|
if [ ! -d .git ]; then
|
||||||
echo "Can not update because wallabag wasn't installed using git (see https://doc.wallabag.org/en/admin/upgrade.html#upgrade-on-a-shared-hosting). Aborting.";
|
echo "Can not update because wallabag wasn't installed using git (see https://doc.wallabag.org/en/admin/upgrade.html#upgrade-on-a-shared-hosting). Aborting.";
|
||||||
exit 1;
|
exit 2;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf var/cache/*
|
rm -rf var/cache/*
|
||||||
|
|
Loading…
Reference in a new issue