Skip to content
Snippets Groups Projects
Unverified Commit e479c433 authored by Bob Mottram's avatar Bob Mottram
Browse files

No completion file on mesh install

parent b4e2ad3f
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment