mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
installer: remove beta warning
... bleh confusing it is.
This commit is contained in:
parent
8289ef0807
commit
548cc218b7
@ -513,14 +513,6 @@ msg_oem_only() {
|
|||||||
dialog --colors --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_INFOBOX" 7 70
|
dialog --colors --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_INFOBOX" 7 70
|
||||||
}
|
}
|
||||||
|
|
||||||
msg_warning_beta() {
|
|
||||||
# show a warning dialog if we use beta software
|
|
||||||
MSG_TITLE="\Z1[ BETA WARNING ]\Zn"
|
|
||||||
MSG_INFOBOX=" This installer is for beta versions. \n This means this sofware have not been tested yet. \n Please make sure you have a backup of your files."
|
|
||||||
|
|
||||||
dialog --colors --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_INFOBOX" 7 70
|
|
||||||
}
|
|
||||||
|
|
||||||
msg_no_device() {
|
msg_no_device() {
|
||||||
# show a warning dialog if we dont find not mounted devices for install and return to main menu
|
# show a warning dialog if we dont find not mounted devices for install and return to main menu
|
||||||
MSG_TITLE="\Z1[ WARNING ]\Zn"
|
MSG_TITLE="\Z1[ WARNING ]\Zn"
|
||||||
@ -764,7 +756,6 @@ do_poweroff() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# setup needed variables
|
# setup needed variables
|
||||||
BETA="yes"
|
|
||||||
INSTALLER_VERSION="0.2.6"
|
INSTALLER_VERSION="0.2.6"
|
||||||
OS_VERSION=$(lsb_release)
|
OS_VERSION=$(lsb_release)
|
||||||
BACKTITLE="OpenELEC Installer $INSTALLER_VERSION - $OS_VERSION"
|
BACKTITLE="OpenELEC Installer $INSTALLER_VERSION - $OS_VERSION"
|
||||||
@ -777,7 +768,6 @@ rm -rf $TMPDIR
|
|||||||
mkdir -p $TMPDIR
|
mkdir -p $TMPDIR
|
||||||
|
|
||||||
# main
|
# main
|
||||||
[ "$BETA" = "yes" ] && msg_warning_beta
|
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
clear
|
clear
|
||||||
|
Loading…
x
Reference in New Issue
Block a user