build(node): package NetBird and JK BMS with pinned shared UI sources

This commit is contained in:
DCCONSTRUCTIONS
2026-11-04 00:43:00 +03:00
parent f3d0c25ccd
commit df743a9f6c
15 changed files with 378 additions and 20 deletions
+4
View File
@@ -70,6 +70,9 @@ if [ "$1" = upgrade ] && [ -n "${2:-}" ] && dpkg --compare-versions "$2" lt 0.8.
fi
case "$1" in
upgrade|remove|deconfigure)
if [ -d /run/systemd/system ] && [ -f /usr/lib/systemd/system/mission-core-jk-bms.service ]; then
systemctl disable --now mission-core-jk-bms.service
fi
if [ -d /run/systemd/system ] && [ -f /usr/lib/systemd/system/mission-core-vesc.service ]; then
systemctl disable --now mission-core-vesc.service
fi
@@ -129,5 +132,6 @@ fi
if [ "$1" = remove ] || { [ "$1" = upgrade ] && [ -n "${2:-}" ] && dpkg --compare-versions "$2" lt 0.8.49-91; }; then
if [ -d /run/systemd/system ]; then
systemctl disable --now mission-core-node-wireguard.service || true
systemctl disable --now mission-core-node-netbird.service || true
fi
fi