Ignore completion file when installing on mesh
This commit is contained in:
parent
72a47da79a
commit
f2165a7879
|
@ -189,11 +189,14 @@ function remove_tox {
|
|||
}
|
||||
|
||||
function configure_firewall_for_tox {
|
||||
if [ ! $INSTALLING_MESH ]; then
|
||||
if [ -f $COMPLETION_FILE ]; then
|
||||
if grep -Fxq "configure_firewall_for_tox" $COMPLETION_FILE; then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
|
||||
# docker does its own firewalling
|
||||
return
|
||||
|
@ -519,9 +522,11 @@ function enable_tox_repo {
|
|||
}
|
||||
|
||||
function install_tox {
|
||||
if [ ! $INSTALLING_MESH ]; then
|
||||
if grep -Fxq "install_tox" $COMPLETION_FILE; then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
configure_firewall_for_tox
|
||||
|
||||
|
|
Loading…
Reference in New Issue