Reboot and rescue installation always when SSU failed to install ssu-fixes-20091124
authorMario Sanchez Prada <msanchez@igalia.com>
Mon, 23 Nov 2009 18:52:39 +0000 (19:52 +0100)
committerMario Sanchez Prada <msanchez@igalia.com>
Tue, 24 Nov 2009 19:14:10 +0000 (20:14 +0100)
commit6d9fdf34f8a6834691c2343433a6fb09f170da31
tree8a2456bc09962ece87a8f83e64cd04225e245d45
parent446a3951be881297113dc9818bd3cd4b49c168c7
Reboot and rescue installation always when SSU failed to install

* src/apt-worker.cc (cmd_install_package): Delete the installation
journal for successfully installations only for SSU packages.
* 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