Update hassio_install.sh

This commit is contained in:
Pascal Vizeli 2019-08-23 14:41:35 +02:00 committed by GitHub
parent 3082584731
commit 3f47e87463
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,8 +20,8 @@ command -v jq > /dev/null 2>&1 || { echo "[Error] Please install jq first"; exit
command -v curl > /dev/null 2>&1 || { echo "[Error] Please install curl first"; exit 1; } command -v curl > /dev/null 2>&1 || { echo "[Error] Please install curl first"; exit 1; }
command -v avahi-daemon > /dev/null 2>&1 || { echo "[Error] Please install avahi first"; exit 1; } command -v avahi-daemon > /dev/null 2>&1 || { echo "[Error] Please install avahi first"; exit 1; }
command -v dbus-daemon > /dev/null 2>&1 || { echo "[Error] Please install dbus first"; exit 1; } command -v dbus-daemon > /dev/null 2>&1 || { echo "[Error] Please install dbus first"; exit 1; }
command -v nmcli > /dev/null 2>&1 || { echo "[Error] No NetworkManager support on host."; exit 1; }
command -v apparmor_parser > /dev/null 2>&1 || echo "[Warning] No AppArmor support on host." command -v apparmor_parser > /dev/null 2>&1 || echo "[Warning] No AppArmor support on host."
command -v nmcli > /dev/null 2>&1 || echo "[Warning] No NetworkManager support on host."
#detect if running on snapped docker #detect if running on snapped docker
if snap list docker >/dev/null 2>&1; then if snap list docker >/dev/null 2>&1; then