aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-06-14 11:28:23 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-06-14 11:28:23 +0200
commit0a258f85be31c5d99317ffdc83cc8735e504ed48 (patch)
tree32aa74349ede51e1f4de40aa90f77668a38b7d36 /scripts
parent7a82953b3e34e07df2a6ac8b09d01b47db5da879 (diff)
downloadwallabag-0a258f85be31c5d99317ffdc83cc8735e504ed48.tar.gz
wallabag-0a258f85be31c5d99317ffdc83cc8735e504ed48.tar.zst
wallabag-0a258f85be31c5d99317ffdc83cc8735e504ed48.zip
Return a different code when git isn't installed
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update.sh b/scripts/update.sh
index edebe5c5..1f31d429 100755
--- a/scripts/update.sh
+++ b/scripts/update.sh
@@ -40,7 +40,7 @@ fi
40# Check for wallabag .git folder 40# Check for wallabag .git folder
41if [ ! -d .git ]; then 41if [ ! -d .git ]; then
42 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."; 42 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.";
43 exit 1; 43 exit 2;
44fi 44fi
45 45
46rm -rf var/cache/* 46rm -rf var/cache/*