From c30bfb6cd081fdf0d42604cd74a34b48ea0b3959 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 27 Mar 2020 23:32:08 +0100 Subject: [PATCH] Bugfix Signed-off-by: Igor Pecovnik --- debian-config-jobs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian-config-jobs b/debian-config-jobs index 7924e45..7fdbc04 100644 --- a/debian-config-jobs +++ b/debian-config-jobs @@ -916,9 +916,10 @@ unset selection if [[ $? -eq 0 ]]; then debconf-apt-progress -- apt-get update debconf-apt-progress -- apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y upgrade + [[ -z $scripted ]] && \ dialog --title " Firmware update " --colors --no-label "No" --backtitle "$BACKTITLE" --yesno \ "\nFirmware has been updated. Reboot? " 7 39 - if [[ $? -eq 0 && -z $scripted ]]; then reboot; fi + if [[ $? -eq 0 ]]; then reboot; fi fi fi ;;