mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
installer: meh. indents..
This commit is contained in:
parent
76a19cc0a6
commit
8f4dabd30f
@ -135,8 +135,8 @@ create_partition_list() {
|
||||
}
|
||||
|
||||
do_install_mbr() {
|
||||
|
||||
# show menu
|
||||
|
||||
MSG_TITLE="\Z4[ (RE)INSTALL MBR ]\Zn"
|
||||
MSG_MENU="\n Please select where to install MBR.\n\n Please select a device:"
|
||||
MSG_CANCEL="Back"
|
||||
@ -226,7 +226,6 @@ do_install_quick() {
|
||||
dd if=/dev/zero of=$INSTALL_DEVICE bs=4096 count=1024
|
||||
|
||||
# create 2 new partitions (first $PARTSIZE_SYSTEM, second rest)
|
||||
|
||||
msg_progress_install "7" "creating label on $INSTALL_DEVICE"
|
||||
if [ "$GPT" = "1" ]; then
|
||||
parted -s $INSTALL_DEVICE mklabel gpt >> $LOGFILE 2>&1
|
||||
@ -675,7 +674,6 @@ bios_backup() {
|
||||
bios_update() {
|
||||
# update the bios
|
||||
if [ "$BIOS_UPDATE" = "yes" -a -f "$BIOS_FILE" ]; then
|
||||
|
||||
clear
|
||||
echo "##### erasing BIOS #####"
|
||||
usleep 1000000
|
||||
@ -687,7 +685,6 @@ bios_update() {
|
||||
|
||||
echo "##### Please control the output and press any key to continue #####"
|
||||
read -sn1
|
||||
|
||||
else
|
||||
msg_oem_only
|
||||
fi
|
||||
@ -697,7 +694,6 @@ bios_update() {
|
||||
bios_erase() {
|
||||
# erase the bios
|
||||
if [ "$BIOS_UPDATE" = "yes" -a -f "$BIOS_FILE" ]; then
|
||||
|
||||
clear
|
||||
echo "##### erasing BIOS #####"
|
||||
usleep 1000000
|
||||
@ -705,7 +701,6 @@ bios_erase() {
|
||||
|
||||
echo "##### Please control the output and press any key to continue #####"
|
||||
read -sn1
|
||||
|
||||
else
|
||||
msg_oem_only
|
||||
fi
|
||||
@ -734,25 +729,25 @@ do_poweroff() {
|
||||
}
|
||||
|
||||
# setup needed variables
|
||||
BETA="yes"
|
||||
INSTALLER_VERSION="0.2.6"
|
||||
OS_VERSION=$(lsb_release)
|
||||
BACKTITLE="OpenELEC Installer $INSTALLER_VERSION - $OS_VERSION"
|
||||
BETA="yes"
|
||||
INSTALLER_VERSION="0.2.6"
|
||||
OS_VERSION=$(lsb_release)
|
||||
BACKTITLE="OpenELEC Installer $INSTALLER_VERSION - $OS_VERSION"
|
||||
|
||||
TMPDIR="/tmp/installer"
|
||||
LOGFILE="$TMPDIR/install.log"
|
||||
TMPDIR="/tmp/installer"
|
||||
LOGFILE="$TMPDIR/install.log"
|
||||
|
||||
# prepare temporary directory
|
||||
rm -rf $TMPDIR
|
||||
mkdir -p $TMPDIR
|
||||
rm -rf $TMPDIR
|
||||
mkdir -p $TMPDIR
|
||||
|
||||
# main
|
||||
[ "$BETA" = "yes" ] && msg_warning_beta
|
||||
[ "$BETA" = "yes" ] && msg_warning_beta
|
||||
|
||||
while true; do
|
||||
while true; do
|
||||
clear
|
||||
menu_main
|
||||
done
|
||||
done
|
||||
|
||||
# exit cleanly
|
||||
exit 0
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user