INNER CODE UNIT · Shell
INSTALL_DIR
homebridge/docker-homebridge · raspbian-installer.sh:10
INSTALL_DIR=$HOME/homebridge
. /etc/os-release
LP="[homebridge/homebridge installer]"
# Check OS
if [ "$VERSION_ID" != "12" ] && [ "$VERSION_ID" != "13" ]; then
echo "$LP ERROR: $PRETTY_NAME is not supported. Use 64-bit Raspberry Pi OS based on Debian 12 or 13."
exit 1
fi
# Check the OS is 64-bit. Node.js no longer makes 32-bit ARM builds, so the
# Homebridge Docker images are dropping 32-bit ARM (arm32v7)
ARCH=$(dpkg --print-architecture)