summaryrefslogtreecommitdiffstats
path: root/mdkupdate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-20 19:33:38 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-20 19:33:38 +0000
commitb3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4 (patch)
tree600c682a8ebcc41b09bdb672dff2f6539193fc4e /mdkupdate
parent5e78b137831c5e717b2cf174ea81cc41d9ffe491 (diff)
downloadmgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar
mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar.gz
mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar.bz2
mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.tar.xz
mgaonline-b3eb2e3dd56b7fff7f70de7ba7fe82356c4b84c4.zip
(update_pkgs) update the media btw
Diffstat (limited to 'mdkupdate')
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 169cb913..6d6bc2a5 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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;