From f5fb0726f1278ee5b8b74776bfed6b90ef741e5a Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 5 Jan 2022 11:46:12 -0300 Subject: [PATCH] Update install.sh --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index da4e938..7968d81 100755 --- a/install.sh +++ b/install.sh @@ -454,8 +454,8 @@ getDotfiles() { checkForSystemdUnit() { trap 'systemctl stop ${2}' INT - # systemctl is-active --quiet ${2} - # [ $? -eq 0 ] && return + systemctl is-active --quiet ${2} + [ $? -eq 0 ] && return calcHeightAndRun "whiptail --infobox \"Waiting for the ${1} to finish.\" 7 WIDTH" systemctl is-active --quiet ${2} while [ $? -ne 0 ]; do @@ -522,7 +522,7 @@ runScript() { else systemctl stop reflector.service checkForSystemdUnit "systemd units" "graphical.target" - systemctl start reflector.service + systemctl start reflector.service & welcomeMsg="Welcome to CocoASAIS!" fi