if test -e /tmp/upgrade_ok; then
rm -f /tmp/upgrade_ok
zenity --info --title="Upgrade complete" \
- --text "All operations have been finished.\n\nYou can find a logfile at /tmp/upgrade.log"
+ --text "All operations have been finished.\n\nYou can find a log file at /tmp/upgrade.log"
if [ "$kernelmd5_old" != "$kernelmd5_new" ]; then
zenity --question --title="Kernel updated" \
--text "The kernel has been updated,\nreboot is needed to start it.\n\nReboot now?" \
fi
else
zenity --error --title="Errors detected" \
- --text "Errors detected during update.\n\nYou can find a logfile at /tmp/upgrade.log"
+ --text "Errors detected during update. Please check your Internet connection and try again.
+
+If long update process was interrupted, it is recommended to run the update again before a reboot.
+
+You can find a log file at /tmp/upgrade.log"
fi