mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 12:16:29 +00:00
cleanup script
This commit is contained in:
parent
ebae265aa8
commit
9052b70b2a
@ -43,20 +43,10 @@ RESIN_BRANCH=${RESIN_BRANCH:=master}
|
||||
|
||||
# evaluate git repo and arch
|
||||
case $MACHINE in
|
||||
"raspberrypi")
|
||||
"raspberrypi", "raspberrypi2", "raspberrypi3")
|
||||
ARCH="armhf"
|
||||
RESIN_REPO="https://github.com/resin-os/resin-raspberrypi"
|
||||
HOMEASSISTANT_REPOSITORY="$DOCKER_REPO/raspberrypi-homeassistant"
|
||||
;;
|
||||
"raspberrypi2")
|
||||
ARCH="armhf"
|
||||
RESIN_REPO="https://github.com/resin-os/resin-raspberrypi"
|
||||
HOMEASSISTANT_REPOSITORY="$DOCKER_REPO/raspberrypi2-homeassistant"
|
||||
;;
|
||||
"raspberrypi3")
|
||||
ARCH="armhf"
|
||||
RESIN_REPO="https://github.com/resin-os/resin-raspberrypi"
|
||||
HOMEASSISTANT_REPOSITORY="$DOCKER_REPO/raspberrypi3-homeassistant"
|
||||
HOMEASSISTANT_REPOSITORY="$DOCKER_REPO/$MACHINE-homeassistant"
|
||||
;;
|
||||
*)
|
||||
echo "[ERROR] ${MACHINE} unknown!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user