Borsenkow Andrej wrote:

> You have to either get localized rpm messages in this case from rpm 
> message file or make sure rpm is spawned with LANGUAGE=C.
> 



In case nobody has better idea see patch below. Currently urpme is not 
localized anyway; if it will affect localization, env should be set 
before call to rpm and restored thereafter.

-andrej


--- urpme.bor   Mon Sep 24 20:21:46 2001
+++ urpme       Sat Oct 27 22:32:24 2001
@@ -17,6 +17,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

 local $_ = join '', @ARGV;
+$ENV{"LANGUAGE"}="C";

 /-h/ || @ARGV == 0 and die "usage: urpme [-a] [--auto] <packages...>\n";


Reply via email to