Update installer.sh
This commit is contained in:
parent
ecd375fa51
commit
bbfe773ac0
1 changed files with 9 additions and 12 deletions
21
installer.sh
21
installer.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue