summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 10a11c639..f982ac38d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -468,6 +468,9 @@ sub install_urpmi {
local *FILES; open FILES, "hdlist2files $f|";
chop, print LIST "$dir/Mandrake/RPMS/$_\n" foreach <FILES>;
close FILES or die "hdlist2files failed";
+
+ $dir .= "/Mandrake/RPMS with ../base/hdlist" if $method =~ /ftp|http/;
+ eval { output "$prefix/etc/urpmi/urpmi.cfg", "$name $dir\n" };
}
run_program::rooted($prefix, "urpmi.update");
}