diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 20:01:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-20 20:01:31 +0000 |
commit | 5eaa4d9142ac76c2f412f5ba0543134d565bcc60 (patch) | |
tree | 96b5adef7e4578b572213327075fd0a0cd2e4944 | |
parent | 884c1665b0ae7476ae8ff5c1cfd2cac4918b273a (diff) | |
download | mgaonline-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-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |