No completion file on mesh install
This commit is contained in:
parent
b4e2ad3fa1
commit
e479c43333
|
@ -189,9 +189,11 @@ function remove_tox {
|
|||
}
|
||||
|
||||
function configure_firewall_for_tox {
|
||||
if [ -f $COMPLETION_FILE ]; then
|
||||
if grep -Fxq "configure_firewall_for_tox" $COMPLETION_FILE; then
|
||||
return
|
||||
fi
|
||||
fi
|
||||
if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
|
||||
# docker does its own firewalling
|
||||
return
|
||||
|
@ -204,7 +206,9 @@ function configure_firewall_for_tox {
|
|||
save_firewall_settings
|
||||
|
||||
OPEN_PORTS+=("Tox $TOX_PORT")
|
||||
if [ -f $COMPLETION_FILE ]; then
|
||||
echo 'configure_firewall_for_tox' >> $COMPLETION_FILE
|
||||
fi
|
||||
}
|
||||
|
||||
function tox_avahi {
|
||||
|
|
Loading…
Reference in New Issue