Check for .git folder

pull/1054/head
Piero Toffanin 2021-09-03 14:01:20 -04:00
rodzic d7eebdfe17
commit a061a58dc8
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -362,7 +362,11 @@ elif [[ $1 = "update" ]]; then
if [[ $git_not_found ]]; then
echo "Skipping source update (git not found)"
else
run "git pull origin master"
if [[ -d .git ]]; then
run "git pull origin master"
else
echo "Skipping source update (.git directory not found)"
fi
fi
command="docker-compose -f docker-compose.yml"