Fixed git check for sats-loop
This commit is contained in:
parent
604dd38517
commit
142aaf53a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue