summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-13 13:38:37 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-13 13:38:37 +0000
commit51ff17185f14726b69742c44e5344cb2b6de8b83 (patch)
tree57718da3172ab9c2ca26b2c662e7362a19bb8601 /gurpmi2
parent65304a86977b772f11eca3fe7221c6f140640a8c (diff)
downloadurpmi-51ff17185f14726b69742c44e5344cb2b6de8b83.tar
urpmi-51ff17185f14726b69742c44e5344cb2b6de8b83.tar.gz
urpmi-51ff17185f14726b69742c44e5344cb2b6de8b83.tar.bz2
urpmi-51ff17185f14726b69742c44e5344cb2b6de8b83.tar.xz
urpmi-51ff17185f14726b69742c44e5344cb2b6de8b83.zip
(configure_urpm) return 1 like urpmi if package doesn't exist
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 5339daa7..d43f68d6 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -81,7 +81,7 @@ my $urpm = configure_urpm();
my $state = {};
my %requested = $urpm->register_rpms(@all_rpms);
if (@gurpmi::names) {
- urpm::select::search_packages($urpm, \%requested, [ @gurpmi::names ]);
+ urpm::select::search_packages($urpm, \%requested, [ @gurpmi::names ]) || $force or exit 1;
}
#- return value is true if program should be restarted (in order to take care of important