cleanup script

This commit is contained in:
Pascal Vizeli 2017-03-20 00:58:38 +01:00
parent ebae265aa8
commit 9052b70b2a

View File

@ -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!"