aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 09:38:32 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 09:38:32 +0000
commit34557b94090e45637a4d29d6156e2df17a1e782d (patch)
tree9b3e2d0e7b38d57f1bd96d937b7adbdfe2f03e32 /Rpmdrake/pkg.pm
parent4e3fa96231d59ca43ff01ce0e09ed04127327c9d (diff)
downloadrpmdrake-34557b94090e45637a4d29d6156e2df17a1e782d.tar
rpmdrake-34557b94090e45637a4d29d6156e2df17a1e782d.tar.gz
rpmdrake-34557b94090e45637a4d29d6156e2df17a1e782d.tar.bz2
rpmdrake-34557b94090e45637a4d29d6156e2df17a1e782d.tar.xz
rpmdrake-34557b94090e45637a4d29d6156e2df17a1e782d.zip
(open_urpmi_db) ensure we respect 'auto' option in /etc/urpmi.cfg
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index c5df71e1..8454da9f 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -235,7 +235,7 @@ sub open_urpmi_db() {
$urpm->{options}{'split-level'} ||= 20;
$urpm->{options}{'split-length'} ||= 1;
$urpm->{options}{'no-verify-rpm'} = $::rpmdrake_options{'no-verify-rpm'};
- $urpm->{options}{auto} = $::rpmdrake_options{'auto'};
+ $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];