Installer should shut down when complete, and not reboot so there is time to eject. Bump ES to use scraper API.
This commit is contained in:
parent
e20a00f7fa
commit
17b7aa110f
2 changed files with 5 additions and 15 deletions
|
@ -385,7 +385,7 @@ EOF
|
|||
|
||||
# install complete
|
||||
MSG_TITLE="@DISTRONAME@ Install Complete"
|
||||
MSG_DETAIL="You may now remove the install media and reboot.\n"
|
||||
MSG_DETAIL="You may now remove the install media and shutdown.\n"
|
||||
whiptail --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_DETAIL" 7 52
|
||||
}
|
||||
|
||||
|
@ -474,7 +474,7 @@ out during the installation. \
|
|||
1 "Install @DISTRONAME@" \
|
||||
2 "View installation log" \
|
||||
3 "Save installation log" \
|
||||
4 "Reboot" 2> $TMPDIR/mainmenu
|
||||
4 "Shutdown" 2> $TMPDIR/mainmenu
|
||||
|
||||
case $? in
|
||||
0)
|
||||
|
@ -483,13 +483,10 @@ out during the installation. \
|
|||
1) do_install_quick;;
|
||||
2) logfile_show;;
|
||||
3) logfile_save;;
|
||||
4) do_reboot;;
|
||||
4) do_poweroff;;
|
||||
esac
|
||||
;;
|
||||
1)
|
||||
do_reboot
|
||||
;;
|
||||
255)
|
||||
1|255)
|
||||
do_poweroff
|
||||
;;
|
||||
esac
|
||||
|
@ -513,13 +510,6 @@ logfile_save() {
|
|||
whiptail --backtitle "$BACKTITLE" --title "$MSG_TITLE" --msgbox "$MSG_DETAIL" 7 52
|
||||
}
|
||||
|
||||
do_reboot() {
|
||||
# reboot on request
|
||||
clear
|
||||
sync
|
||||
reboot -f
|
||||
}
|
||||
|
||||
do_poweroff() {
|
||||
# powerdown on request
|
||||
clear
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
PKG_NAME="emulationstation"
|
||||
PKG_VERSION="d5fe1df364cca1ee4a22de493014ca4918b8afec"
|
||||
PKG_VERSION="d174e27f246e99586b47108e2524233e426540dc"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
|
|
Loading…
Reference in a new issue