From a3cf87daa64ad23c02fe2db8e56da21154b3bd14 Mon Sep 17 00:00:00 2001 From: Matheson Steplock Date: Wed, 23 Mar 2022 01:00:49 +0000 Subject: [PATCH] fix if statement --- homeassistant-supervised/DEBIAN/postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant-supervised/DEBIAN/postinst b/homeassistant-supervised/DEBIAN/postinst index f699b71..12fcf6a 100755 --- a/homeassistant-supervised/DEBIAN/postinst +++ b/homeassistant-supervised/DEBIAN/postinst @@ -143,6 +143,7 @@ fi info "Within a few minutes you will be able to reach Home Assistant at:" info "http://homeassistant.local:8123 or using the IP address of your" info "machine: http://${IP_ADDRESS}:8123" -if -f /var/run/reboot-required; then +if [ -f /var/run/reboot-required ] +then warn "A reboot is required to apply changes to grub." fi \ No newline at end of file