mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add infoboxes as error messages
This commit is contained in:
parent
a8ff5a14e2
commit
8014032992
1 changed files with 3 additions and 3 deletions
|
@ -47,7 +47,7 @@ _create_container() {
|
|||
|
||||
_network_check() {
|
||||
if ! getent hosts www.google.com &>"${_NO_LOG}"; then
|
||||
_progress "100" "Network not yet ready. Please configure your network first."
|
||||
_dialog --title " ERROR " "Network not yet ready. Please configure your network first." 3 70
|
||||
sleep 3
|
||||
exit 1
|
||||
fi
|
||||
|
@ -55,7 +55,7 @@ _network_check() {
|
|||
|
||||
_update_installer_check() {
|
||||
if [[ -f /.update ]]; then
|
||||
_progress "100" "update is already running on other tty... You need to remove /.update first!"
|
||||
_dialog --title " ERROR " "update is already running on other tty...\nYou need to remove /.update first!" 5 70
|
||||
sleep 3
|
||||
exit 1
|
||||
fi
|
||||
|
@ -66,7 +66,7 @@ _update_installer_check() {
|
|||
|
||||
_full_system_check() {
|
||||
if [[ -e "/.full_system" ]]; then
|
||||
_progress "100" "Full Arch Linux system already setup."
|
||||
_dialog --title " SUCCESS " "Full Arch Linux system already setup." 3 7ß
|
||||
sleep 3
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue