mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-14 20:56:30 +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
|
# evaluate git repo and arch
|
||||||
case $MACHINE in
|
case $MACHINE in
|
||||||
"raspberrypi")
|
"raspberrypi", "raspberrypi2", "raspberrypi3")
|
||||||
ARCH="armhf"
|
ARCH="armhf"
|
||||||
RESIN_REPO="https://github.com/resin-os/resin-raspberrypi"
|
RESIN_REPO="https://github.com/resin-os/resin-raspberrypi"
|
||||||
HOMEASSISTANT_REPOSITORY="$DOCKER_REPO/raspberrypi-homeassistant"
|
HOMEASSISTANT_REPOSITORY="$DOCKER_REPO/$MACHINE-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"
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "[ERROR] ${MACHINE} unknown!"
|
echo "[ERROR] ${MACHINE} unknown!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user