summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-06 13:10:05 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-06 13:10:05 +0000
commit5ee5f745ef8b7e123e618cdf91f581d064c72e75 (patch)
treec456e17215c94b6c5624210c5234152d8ac37e46 /urpmf
parentb3019a50283f6e7717e1c3163351b5affd231e7e (diff)
downloadurpmi-5ee5f745ef8b7e123e618cdf91f581d064c72e75.tar
urpmi-5ee5f745ef8b7e123e618cdf91f581d064c72e75.tar.gz
urpmi-5ee5f745ef8b7e123e618cdf91f581d064c72e75.tar.bz2
urpmi-5ee5f745ef8b7e123e618cdf91f581d064c72e75.tar.xz
urpmi-5ee5f745ef8b7e123e618cdf91f581d064c72e75.zip
fixed newer export methodology.
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf5
1 files changed, 1 insertions, 4 deletions
diff --git a/urpmf b/urpmf
index bb621543..522f3910 100755
--- a/urpmf
+++ b/urpmf
@@ -19,9 +19,6 @@
#use strict qw(subs vars refs);
use urpm;
-#- get I18N translation method.
-import urpm N;
-
sub usage {
print STDERR N("urpmf version %s
Copyright (C) 2002 MandrakeSoft.
@@ -75,7 +72,7 @@ my $expr;
my @nextargv;
while (defined($_ = shift @ARGV)) {
/^--help$/ and do { usage; next };
- /^--no-locales$/ and do { undef *_; undef *urpm::_; *_ = *urpm::_ = sub { sprintf(shift @_, @_) }; next };
+ /^--no-locales$/ and do { undef *N; undef *urpm::N; *N = *urpm::N = sub { sprintf(shift @_, @_) }; next };
/^--update$/ and do { $update = 1; next };
/^--media$/ and do { push @nextargv, \$media; next };
/^--mediums$/ and do { push @nextargv, \$media; next };