From e8fa3b6d8a52dd59c9b668f9e6486f42fe3f1899 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 21 Mar 2007 11:44:17 +0000 Subject: (update_pkgs) it shouldn't matter with stable updates but let's live on the safe side and prevent removing the whole system --- mdkupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdkupdate b/mdkupdate index a199e094..d3c8c39d 100755 --- a/mdkupdate +++ b/mdkupdate @@ -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; -- cgit v1.2.1