mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #868 from trsqr/whiptail_installer
installer: cosmetic touches
This commit is contained in:
commit
06ceb9270f
@ -39,4 +39,4 @@
|
|||||||
|
|
||||||
# color scheme to use for Whiptail/Newt
|
# color scheme to use for Whiptail/Newt
|
||||||
# see http://askubuntu.com/questions/776831/whiptail-change-background-color-dynamically-from-magenta
|
# 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=""
|
||||||
|
@ -305,7 +305,7 @@ do_install_quick() {
|
|||||||
msg_progress_install "100" "Remove $TMPDIR/part2"
|
msg_progress_install "100" "Remove $TMPDIR/part2"
|
||||||
rmdir $TMPDIR/part2 >> $LOGFILE 2>&1
|
rmdir $TMPDIR/part2 >> $LOGFILE 2>&1
|
||||||
fi
|
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
|
# install complete
|
||||||
MSG_TITLE="@DISTRONAME@ Install Complete"
|
MSG_TITLE="@DISTRONAME@ Install Complete"
|
||||||
@ -409,7 +409,7 @@ out during the installation. \
|
|||||||
whiptail --backtitle "$BACKTITLE" --cancel-button "$MSG_CANCEL" \
|
whiptail --backtitle "$BACKTITLE" --cancel-button "$MSG_CANCEL" \
|
||||||
--title "$MSG_TITLE" --menu "$MSG_MENU" 18 73 3 \
|
--title "$MSG_TITLE" --menu "$MSG_MENU" 18 73 3 \
|
||||||
1 "Install @DISTRONAME@" \
|
1 "Install @DISTRONAME@" \
|
||||||
2 "Show the log file" \
|
2 "Installation log" \
|
||||||
3 "Reboot" 2> $TMPDIR/mainmenu
|
3 "Reboot" 2> $TMPDIR/mainmenu
|
||||||
|
|
||||||
case $? in
|
case $? in
|
||||||
@ -431,7 +431,7 @@ out during the installation. \
|
|||||||
}
|
}
|
||||||
|
|
||||||
logfile_show() {
|
logfile_show() {
|
||||||
whiptail --textbox "$LOGFILE" 20 73 --scrolltext
|
whiptail --textbox "$LOGFILE" 20 73 --scrolltext --backtitle "$BACKTITLE"
|
||||||
clear
|
clear
|
||||||
menu_main
|
menu_main
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user