diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 19:33:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 19:33:38 +0000 |
commit | b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4 (patch) | |
tree | 600c682a8ebcc41b09bdb672dff2f6539193fc4e | |
parent | 5e78b137831c5e717b2cf174ea81cc41d9ffe491 (diff) | |
download | mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar.gz mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar.bz2 mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar.xz mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.zip |
(update_pkgs) update the media btw
-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", '--update', map { if_(/(.*)-[^-]*-[^-]*\.[^-.]*?\.rpm$/, $1) } @pkgs; + system "/usr/sbin/urpmi", '--auto-update', '--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; |