Update installer.sh

This commit is contained in:
Richard Tirtadji 2020-05-11 20:19:19 +07:00 committed by GitHub
parent ecd375fa51
commit bbfe773ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,21 +4,18 @@ set -e
function error { echo -e "[Error] $*"; exit 1; } function error { echo -e "[Error] $*"; exit 1; }
function warn { echo -e "[Warning] $*"; } function warn { echo -e "[Warning] $*"; }
warn "This installer is no longer supported."
warn "This installer of Home Assistant is for experts only!"
warn "" warn ""
warn "Home Assistant might work today, tomorrow maybe not." warn "This method is not supported by the Home Assistant team."
warn "You need to solve any issue you run into while installing"
warn "or updating Home Assistant yourself."
warn "" warn ""
warn "If you want more control over your own system, run" warn "If you got this installer from a tutorial, you're probably"
warn "Home Assistant as a VM or run Home Assistant Core" warn "not expert enough."
warn "via a Docker container."
warn "" warn ""
echo "Please type not supported to continue this installation" warn "Press any key to continue or control + c to quit"
read x read
if [ "$x" != "not supported" ]
then
echo "OK, bye!"
exit 1;
fi
ARCH=$(uname -m) ARCH=$(uname -m)
DOCKER_BINARY=/usr/bin/docker DOCKER_BINARY=/usr/bin/docker