diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 19:33:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 19:33:31 +0000 |
commit | 5e78b137831c5e717b2cf174ea81cc41d9ffe491 (patch) | |
tree | 14419a1e1b6b1ae80233dc285a54c5575f7ecac3 | |
parent | bdfedfaa972c79ee622328bda609764715085835 (diff) | |
download | mgaonline-5e78b137831c5e717b2cf174ea81cc41d9ffe491.tar mgaonline-5e78b137831c5e717b2cf174ea81cc41d9ffe491.tar.gz mgaonline-5e78b137831c5e717b2cf174ea81cc41d9ffe491.tar.bz2 mgaonline-5e78b137831c5e717b2cf174ea81cc41d9ffe491.tar.xz mgaonline-5e78b137831c5e717b2cf174ea81cc41d9ffe491.zip |
(update_pkgs) consider all update media instead of only the old "update_source" one
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ sub prepare_media { sub update_pkgs { my (@pkgs) = @_; eval { - system "/usr/sbin/urpmi", "--auto", "--media", "update_source", map { if_(/(.*)-[^-]*-[^-]*\.[^-.]*?\.rpm$/, $1) } @pkgs; + system "/usr/sbin/urpmi", "--auto", '--update', map { if_(/(.*)-[^-]*-[^-]*\.[^-.]*?\.rpm$/, $1) } @pkgs; $? == 0 or die N("Unable to update packages from update_source medium.\n"); }; $@ and output_p($logfile, "[mdkupdate] Error 99: $@"), return 0; |