diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-30 10:43:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-30 10:43:34 +0000 |
commit | 8dd4e2bc32dac73a694ddc1fe4e99b873f300711 (patch) | |
tree | 119e19ef4fdf284399b4233eeb806502045c692d /Rpmdrake | |
parent | 1fb0d09e25888450f74210014cfb57a0e8065c4a (diff) | |
download | rpmdrake-8dd4e2bc32dac73a694ddc1fe4e99b873f300711.tar rpmdrake-8dd4e2bc32dac73a694ddc1fe4e99b873f300711.tar.gz rpmdrake-8dd4e2bc32dac73a694ddc1fe4e99b873f300711.tar.bz2 rpmdrake-8dd4e2bc32dac73a694ddc1fe4e99b873f300711.tar.xz rpmdrake-8dd4e2bc32dac73a694ddc1fe4e99b873f300711.zip |
(open_urpmi_db) fix --no-verify-rpm option
Diffstat (limited to 'Rpmdrake')
-rwxr-xr-x | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 8e250ace..b82aa698 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -238,7 +238,7 @@ sub open_urpmi_db() { my $urpm = urpm->new; $urpm->{options}{'split-level'} ||= 20; $urpm->{options}{'split-length'} ||= 1; - $urpm->{options}{'verify-rpm'} = $::rpmdrake_options{'no-verify-rpm'} if defined $::rpmdrake_options{'no-verify-rpm'}; + $urpm->{options}{'verify-rpm'} = !$::rpmdrake_options{'no-verify-rpm'} if defined $::rpmdrake_options{'no-verify-rpm'}; $urpm->{options}{auto} = $::rpmdrake_options{'auto'} if defined $::rpmdrake_options{'auto'}; urpm::set_files($urpm, $::rpmdrake_options{'urpmi-root'}->[0]) if $::rpmdrake_options{'urpmi-root'}->[0]; urpm::args::set_root($urpm, $::rpmdrake_options{'rpm-root'}->[0]) if $::rpmdrake_options{'rpm-root'}->[0]; |