Reboot and rescue installation always when something failed. alwaysrescue
authorMario Sanchez Prada <msanchez@igalia.com>
Mon, 23 Nov 2009 18:52:39 +0000 (19:52 +0100)
committerMario Sanchez Prada <msanchez@igalia.com>
Mon, 23 Nov 2009 19:08:29 +0000 (20:08 +0100)
commit9df2923d77e0a58bba0a2877bb5080e5baabe41f
treeb2ee63add57145c4d23ec9c58cd5f16408f5f082
parent5ecd60b9887d090d0b5d5f549ab6627412425550
Reboot and rescue installation always when something failed.

* src/apt-worker.cc (cmd_install_package): Delete the installation
journal for successfully installations only.
* src/operations.cc (ip_install_cur_reply): Always reboot the device
if the package being installed needs it so, regardless of the result
code, unless the user had cancelled the process on purpose.
src/apt-worker.cc
src/operations.cc