summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-05 08:17:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-05 08:17:26 +0000
commit05442e9fca907befe4f65fc104bf3aa5f141b38b (patch)
tree3277252b49e6eb65fd1d8a41c7a9ccb3ea8dde50 /mdkupdate
parent6cb5d6812d60f50f09612f7713b78ed1480633ea (diff)
downloadmgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar
mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar.gz
mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar.bz2
mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar.xz
mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.zip
Use new 10.1 updates mirror structure
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkupdate b/mdkupdate
index c17cbc1b..f9fafb6c 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -159,10 +159,10 @@ sub update_conf {
sub add_media {
my $mirror = shift;
my ($r) = mdkonline::get_release();
- my $fullpath2mir = "ftp://" . $mirror . "/$r" . "/RPMS" . "/";
+ my $fullpath2mir = "ftp://" . $mirror . "/$r" . "/main_updates" . "/";
eval {
system "/usr/sbin/urpmi.removemedia", "mdkupdate";
- system "/usr/sbin/urpmi.addmedia", "--update", "mdkupdate", $fullpath2mir, "with", "../base/synthesis.hdlist.cz";
+ system "/usr/sbin/urpmi.addmedia", "--update", "mdkupdate", $fullpath2mir, "with", "media_info/synthesis.hdlist.cz";
};
$@ and die "Problem adding Update Media with urpmi";
}