diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-21 11:44:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-21 11:44:17 +0000 |
commit | e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899 (patch) | |
tree | 9088f016ff20ba762ae7ad5daeda51471757993a /mdkupdate | |
parent | 98d551044c034096143a19d0a064654ea263adb8 (diff) | |
download | mgaonline-e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899.tar mgaonline-e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899.tar.gz mgaonline-e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899.tar.bz2 mgaonline-e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899.tar.xz mgaonline-e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899.zip |
(update_pkgs) it shouldn't matter with stable updates but let's live
on the safe side and prevent removing the whole system
Diffstat (limited to 'mdkupdate')
-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', '--auto', '--update', map { if_(/(.*)-[^-]*-[^-]*\.[^-.]*?\.rpm$/, $1) } @pkgs; + system '/usr/sbin/urpmi', '--auto-update', '--auto', '--keep', '--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; |