kopia lustrzana https://github.com/OpenDroneMap/WebODM
Check for .git folder
rodzic
d7eebdfe17
commit
a061a58dc8
|
@ -362,7 +362,11 @@ elif [[ $1 = "update" ]]; then
|
||||||
if [[ $git_not_found ]]; then
|
if [[ $git_not_found ]]; then
|
||||||
echo "Skipping source update (git not found)"
|
echo "Skipping source update (git not found)"
|
||||||
else
|
else
|
||||||
|
if [[ -d .git ]]; then
|
||||||
run "git pull origin master"
|
run "git pull origin master"
|
||||||
|
else
|
||||||
|
echo "Skipping source update (.git directory not found)"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
command="docker-compose -f docker-compose.yml"
|
command="docker-compose -f docker-compose.yml"
|
||||||
|
|
Ładowanie…
Reference in New Issue