diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-26 11:12:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-26 11:12:58 +0000 |
commit | c35def9ae6a99efb3a404743564eeacd5d269a45 (patch) | |
tree | 879c8786146000d551c18b62ea7cf9077674870b /Rpmdrake | |
parent | 7de426f9256576f57cd4a6b9e70dd423d048b964 (diff) | |
download | rpmdrake-c35def9ae6a99efb3a404743564eeacd5d269a45.tar rpmdrake-c35def9ae6a99efb3a404743564eeacd5d269a45.tar.gz rpmdrake-c35def9ae6a99efb3a404743564eeacd5d269a45.tar.bz2 rpmdrake-c35def9ae6a99efb3a404743564eeacd5d269a45.tar.xz rpmdrake-c35def9ae6a99efb3a404743564eeacd5d269a45.zip |
(perform_installation) reload the database if we removed some packages
but didn't installed anything in case of errors
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-x | Rpmdrake/pkg.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 0fc0373c..55c4e1b3 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -789,10 +789,9 @@ you may now inspect some in order to take actions:"), } statusbar_msg_remove($statusbar_msg_id); #- XXX maybe remove this - return !($something_installed || scalar(@to_remove)); return_with_error: - return !$something_installed; + return !($something_installed || scalar(@to_remove)); } |