Merge pull request #868 from trsqr/whiptail_installer

installer: cosmetic touches
This commit is contained in:
Christian Hewitt 2016-10-23 05:38:47 +04:00 committed by GitHub
commit 06ceb9270f
2 changed files with 4 additions and 4 deletions

View File

@ -39,4 +39,4 @@
# color scheme to use for Whiptail/Newt
# see http://askubuntu.com/questions/776831/whiptail-change-background-color-dynamically-from-magenta
WHIPTAIL_COLORS="root=,magenta;entry=,magenta;label=magenta,;actlistbox=,magenta;roottext=white,magenta"
WHIPTAIL_COLORS=""

View File

@ -305,7 +305,7 @@ do_install_quick() {
msg_progress_install "100" "Remove $TMPDIR/part2"
rmdir $TMPDIR/part2 >> $LOGFILE 2>&1
fi
} | whiptail --gauge "Please wait while your system is being setup ..." 6 73 0
} | whiptail --backtitle "$BACKTITLE" --gauge "Please wait while your system is being setup ..." 6 73 0
# install complete
MSG_TITLE="@DISTRONAME@ Install Complete"
@ -409,7 +409,7 @@ out during the installation. \
whiptail --backtitle "$BACKTITLE" --cancel-button "$MSG_CANCEL" \
--title "$MSG_TITLE" --menu "$MSG_MENU" 18 73 3 \
1 "Install @DISTRONAME@" \
2 "Show the log file" \
2 "Installation log" \
3 "Reboot" 2> $TMPDIR/mainmenu
case $? in
@ -431,7 +431,7 @@ out during the installation. \
}
logfile_show() {
whiptail --textbox "$LOGFILE" 20 73 --scrolltext
whiptail --textbox "$LOGFILE" 20 73 --scrolltext --backtitle "$BACKTITLE"
clear
menu_main
}