No completion file on mesh install
This commit is contained in:
parent
b4e2ad3fa1
commit
e479c43333
|
@ -189,8 +189,10 @@ function remove_tox {
|
|||
}
|
||||
|
||||
function configure_firewall_for_tox {
|
||||
if grep -Fxq "configure_firewall_for_tox" $COMPLETION_FILE; then
|
||||
return
|
||||
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
|
||||
|
@ -204,7 +206,9 @@ function configure_firewall_for_tox {
|
|||
save_firewall_settings
|
||||
|
||||
OPEN_PORTS+=("Tox $TOX_PORT")
|
||||
echo 'configure_firewall_for_tox' >> $COMPLETION_FILE
|
||||
if [ -f $COMPLETION_FILE ]; then
|
||||
echo 'configure_firewall_for_tox' >> $COMPLETION_FILE
|
||||
fi
|
||||
}
|
||||
|
||||
function tox_avahi {
|
||||
|
|
Loading…
Reference in New Issue