summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-20 20:01:31 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-20 20:01:31 +0000
commit5eaa4d9142ac76c2f412f5ba0543134d565bcc60 (patch)
tree96b5adef7e4578b572213327075fd0a0cd2e4944
parent884c1665b0ae7476ae8ff5c1cfd2cac4918b273a (diff)
downloadmgaonline-5eaa4d9142ac76c2f412f5ba0543134d565bcc60.tar
mgaonline-5eaa4d9142ac76c2f412f5ba0543134d565bcc60.tar.gz
mgaonline-5eaa4d9142ac76c2f412f5ba0543134d565bcc60.tar.bz2
mgaonline-5eaa4d9142ac76c2f412f5ba0543134d565bcc60.tar.xz
mgaonline-5eaa4d9142ac76c2f412f5ba0543134d565bcc60.zip
(update_pkgs) readd the --auto option I wrongly removed in r147060
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index acd0752a..a199e094 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -267,7 +267,7 @@ sub prepare_media {
sub update_pkgs {
my (@pkgs) = @_;
eval {
- system "/usr/sbin/urpmi", '--auto-update', '--update', map { if_(/(.*)-[^-]*-[^-]*\.[^-.]*?\.rpm$/, $1) } @pkgs;
+ system '/usr/sbin/urpmi', '--auto-update', '--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;