Skip to content

Commit

Permalink
remove range rings when user removes ${HEYWHATSTHAT_PANORAMA_ID}
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Feb 27, 2025
1 parent 65256fe commit f019d15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootfs/etc/s6-overlay/startup.d/06-range-outline
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ if [ -n "${HEYWHATSTHAT_PANORAMA_ID}" ]; then
exit 0
fi
fi
else
# we need to remove the JSON file if it exists (use case: user removes previously set HEYWHATSTHAT_PANORAMA_ID)
rm -f "${TAR1090_INSTALL_DIR}/html-webroot/upintheair.json"
fi

exit 0

0 comments on commit f019d15

Please sign in to comment.