Update installer.sh

This commit is contained in:
Paulus Schoutsen 2020-05-09 12:30:34 -07:00 committed by GitHub
parent 0bba55b6e9
commit 184fbe5eb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,17 +4,21 @@ 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 of Home Assistant is for experts only!" warn "This installer is no longer supported."
warn "" warn ""
warn "This method is not supported by the Home Assistant team." warn "Home Assistant might work today, tomorrow maybe not."
warn "You need to solve any issue you run into while installing"
warn "or updating Home Assistant yourself."
warn "" warn ""
warn "If you got this installer from a tutorial, you're probably" warn "If you want more control over your own system, run"
warn "not expert enough." warn "Home Assistant as a VM or run Home Assistant Core"
warn "via a Docker container."
warn "" warn ""
warn "Press any key to continue or control + c to quit" echo 'Please typ "not supported" to continue this installation'
read read x
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