Refactor
This commit is contained in:
parent
ca0b87ea78
commit
f3329f3fa7
|
@ -446,7 +446,7 @@ getDotfiles() {
|
||||||
chsh -s $(which zsh)
|
chsh -s $(which zsh)
|
||||||
}
|
}
|
||||||
|
|
||||||
checkForGraphicalInterface() {
|
checkForSystemdUnits() {
|
||||||
trap 'systemctl stop reflector; forceExit=true' INT
|
trap 'systemctl stop reflector; forceExit=true' INT
|
||||||
calcHeightAndRun "whiptail --infobox \"Waiting for systemd units to finish ('reflector.service'). This may take a while, please wait.\" HEIGTH 61"
|
calcHeightAndRun "whiptail --infobox \"Waiting for systemd units to finish ('reflector.service'). This may take a while, please wait.\" HEIGTH 61"
|
||||||
journalctl --sync
|
journalctl --sync
|
||||||
|
@ -515,7 +515,7 @@ runScript() {
|
||||||
if [ $i -gt 0 ]; then
|
if [ $i -gt 0 ]; then
|
||||||
welcomeMsg="Welcome back to CocoASAIS!"
|
welcomeMsg="Welcome back to CocoASAIS!"
|
||||||
else
|
else
|
||||||
checkForGraphicalInterface
|
checkForSystemdUnits
|
||||||
welcomeMsg="Welcome to CocoASAIS!"
|
welcomeMsg="Welcome to CocoASAIS!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue