fix update check

This commit is contained in:
Patrick Stadler 2015-12-02 10:20:16 +01:00
parent 3a9c155b7e
commit 85ee93aec3
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ done
. ./lib/main.sh . ./lib/main.sh
if [ $opt_do_update = true ]; then if [ $opt_do_update = true ]; then
if ! command_exists foo; then if ! command_exists git; then
echo "Error: --update requires 'git' to be in the PATH" echo "Error: --update requires 'git' to be in the PATH"
exit 1 exit 1
fi fi