Unverified Commit d13c7865 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Fix for removing 2mouch

parent 3a59789e
......@@ -843,11 +843,11 @@ TARGET_BOARD=$(dialog --cancel-label "Cancel" --backtitle "$BACKTITLE" --no-coll
exitstatus=$?;
exec 3>&-
if [ $exitstatus = 0 ]; then
#install_docker
install_docker
debconf-apt-progress -- apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common
local arch=$(dpkg --print-architecture)
[[ "$arch" == "arm64" ]] && arch="aarch64"
#docker pull homeassistant/${arch}-homeassistant
docker pull homeassistant/${arch}-homeassistant
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" > ${TEMP_DIR}/hass.io.bash
bash ${TEMP_DIR}/hass.io.bash -m ${TARGET_BOARD}
dialog --backtitle "$BACKTITLE" --title "Please wait" --msgbox "\nIt can take several minutes before Home Assistant UI becomes available! " 7 75
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment