diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-10-05 08:17:26 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-10-05 08:17:26 +0000 |
commit | 05442e9fca907befe4f65fc104bf3aa5f141b38b (patch) | |
tree | 3277252b49e6eb65fd1d8a41c7a9ccb3ea8dde50 | |
parent | 6cb5d6812d60f50f09612f7713b78ed1480633ea (diff) | |
download | mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar.gz mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar.bz2 mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.tar.xz mgaonline-05442e9fca907befe4f65fc104bf3aa5f141b38b.zip |
Use new 10.1 updates mirror structure
-rwxr-xr-x | mdkupdate | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; } |