mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
installer: fix menu display, log file function
remove unused menu item, which breaks view log function create empty log file, so view log function works prior to install Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
5b166e0ae3
commit
1ebb205d64
@ -611,8 +611,7 @@ menu_main() {
|
|||||||
--title "$MSG_TITLE" --menu "$MSG_MENU" 20 70 5 \
|
--title "$MSG_TITLE" --menu "$MSG_MENU" 20 70 5 \
|
||||||
1 "Quick Install of OpenELEC" \
|
1 "Quick Install of OpenELEC" \
|
||||||
2 "Repair / Upgrade" \
|
2 "Repair / Upgrade" \
|
||||||
3 "Setup OpenELEC" \
|
3 "Show logfile" 2> $TMPDIR/mainmenu
|
||||||
4 "Show logfile" 2> $TMPDIR/mainmenu
|
|
||||||
|
|
||||||
case $? in
|
case $? in
|
||||||
0)
|
0)
|
||||||
@ -664,6 +663,9 @@ LOGFILE="$TMPDIR/install.log"
|
|||||||
rm -rf $TMPDIR
|
rm -rf $TMPDIR
|
||||||
mkdir -p $TMPDIR
|
mkdir -p $TMPDIR
|
||||||
|
|
||||||
|
#create log file
|
||||||
|
touch "$LOGFILE"
|
||||||
|
|
||||||
# main
|
# main
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user