From c8864d25ab528d9de911e7f6c151879accfad5f6 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 23 Jan 2001 19:16:01 +0000 Subject: added -c flag for cleaning, default is noclean. --- urpmi.update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urpmi.update b/urpmi.update index b1a77ae6..7346de86 100755 --- a/urpmi.update +++ b/urpmi.update @@ -24,8 +24,10 @@ use urpm; sub main { my (@toupdates, %options); + $options{noclean} = 1; foreach (@_) { /^--?a/ and $options{all} = 1, next; + /^--?c/ and $options{noclean} = 0, next; /^--?f/ and $options{force} = 1, next; /^--?noa/ and next; #- default, keeped for compability. /^-/ and die "unknown options \"$_\"\n"; -- cgit v1.2.1