This commit is contained in:
legop3
2026-11-17 21:02:13 -05:00
parent 0ea99d0158
commit dcc14388a6
7 changed files with 17 additions and 5 deletions
+4
View File
@@ -14,6 +14,10 @@ if [[ ${ROVERD_MIGRATE:-} == 1 ]]; then
fi
# Rename avoids overwriting an executable that the running service has mapped.
install -m 0755 "dist/roverd-linux-$arch" /usr/local/bin/roverd.new
if [[ -f /etc/roverd.json ]]; then
# A rejected config must leave the installed executable untouched.
/usr/local/bin/roverd.new -config /etc/roverd.json -check-config
fi
mv -f /usr/local/bin/roverd.new /usr/local/bin/roverd
apt-get update
apt-get install -y git ca-certificates python3 util-linux flite espeak curl xz-utils unzip alsa-utils libc++1 libc++abi1