summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-20 19:54:00 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-20 19:54:00 +0000
commitc942786c119d41faaa03357ddeb5bea338867727 (patch)
treec905961ad62da784b76f39df7b9c1a01944d59f2 /perl-install/install_any.pm
parent30db14621a97a66eb3bf6660621e558ecaf41e85 (diff)
downloaddrakx-backup-do-not-use-c942786c119d41faaa03357ddeb5bea338867727.tar
drakx-backup-do-not-use-c942786c119d41faaa03357ddeb5bea338867727.tar.gz
drakx-backup-do-not-use-c942786c119d41faaa03357ddeb5bea338867727.tar.bz2
drakx-backup-do-not-use-c942786c119d41faaa03357ddeb5bea338867727.tar.xz
drakx-backup-do-not-use-c942786c119d41faaa03357ddeb5bea338867727.zip
no_comment
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");
}