From 6ae9d8ba5d197ae079d8e565ef5330b34efe52f9 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 6 Feb 2009 23:09:12 +0100 Subject: [PATCH] 'removed not needed messages' --- usr/share/archboot/keymap/km | 2 -- usr/share/archboot/tz/tz | 8 -------- 2 files changed, 10 deletions(-) diff --git a/usr/share/archboot/keymap/km b/usr/share/archboot/keymap/km index fea0bb6f0..d279c01b3 100755 --- a/usr/share/archboot/keymap/km +++ b/usr/share/archboot/keymap/km @@ -46,7 +46,6 @@ dokeymap() { CANCEL="" DIALOG --menu "Select A Keymap" 22 60 16 $KEYMAPS 2>$ANSWER || CANCEL="1" if [ "$CANCEL" = "1" ]; then - DIALOG --msgbox "Aborting, your current keymap was not changed." 0 0 S_NEXTITEM="1" return 1 fi @@ -70,7 +69,6 @@ doconsolefont() { CANCEL="" DIALOG --menu "Select A Console Font" 22 60 16 $FONTS 2>$ANSWER || CANCEL=1 if [ "$CANCEL" = "1" ]; then - DIALOG --msgbox "Aborting, your current consolefont was not changed." 0 0 S_NEXTITEM="2" return 1 fi diff --git a/usr/share/archboot/tz/tz b/usr/share/archboot/tz/tz index 32856b24a..d7446ec04 100755 --- a/usr/share/archboot/tz/tz +++ b/usr/share/archboot/tz/tz @@ -76,18 +76,12 @@ while ! [ "$SET_ZONE" = "1" ]; do S_NEXTITEM="2" fi else - DIALOG --msgbox "Skipping region and timezone." 0 0 S_NEXTITEM="1" break fi done } -error_timeset() -{ - DIALOG --msgbox "Aborting, your current time was not changed." 0 0 -} - dotimeset() { SET_TIME="" USE_NTPDATE="" @@ -116,14 +110,12 @@ if [ "${SET_TIME}" = "1" ]; then CANCEL="" dialog --calendar "Set the date.\nUse to navigate and arrow keys to change values." 0 0 0 0 0 2> $ANSWER || CANCEL="1" if [ "$CANCEL" = "1" ]; then - error_timeset S_NEXTITEM="2" return 1 fi local _date="$(cat $ANSWER)" dialog --timebox "Set the time.\nUse to navigate and up/down to change values." 0 0 2> $ANSWER || CANCEL="1" if [ "$CANCEL" = "1" ]; then - error_timeset S_NEXTITEM="2" return 1 fi