Fixed git check for sats-loop

This commit is contained in:
xdrm-brackets 2017-01-26 10:31:40 +01:00
parent 604dd38517
commit 142aaf53a8
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
# [1] first install (install source code)
if [ -e /home/sats/satsd/first_install ]; then
usegit=1;
git > /dev/null 2> /dev/null || usegit=0;
usegit=0;
git --version > /dev/null 2> /dev/null && usegit=1 || usegit=0;
# install source code
if [ $usegit -eq 1 ]; then