Fix issue #21 and add aircraft position tracking indicators

- Fix Debian package upgrade issue by separating upgrade vs remove behavior in prerm script
- Add aircraft position tracking statistics in merger GetStatistics() method
- Update frontend to display position tracking indicators in both header and stats view
- Format Go code to maintain consistency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2025-08-31 11:25:42 +02:00
commit 66a995b4d0
8 changed files with 124 additions and 74 deletions

11
debian/DEBIAN/prerm vendored
View file

@ -2,8 +2,8 @@
set -e
case "$1" in
remove|upgrade|deconfigure)
# Stop and disable the service
remove|deconfigure)
# Stop and disable the service on removal
if systemctl is-active --quiet skyview-adsb.service; then
systemctl stop skyview-adsb.service
fi
@ -12,6 +12,13 @@ case "$1" in
systemctl disable skyview-adsb.service
fi
;;
upgrade)
# Only stop service during upgrade, preserve enabled state
if systemctl is-active --quiet skyview-adsb.service; then
systemctl stop skyview-adsb.service
fi
# Don't disable - postinst will restart if service was enabled
;;
esac
exit 0