aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-16 09:24:25 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-16 09:24:25 +0000
commit68b77d9c5b2f019a2cce3800a5f15ab13ae2f5d7 (patch)
tree042296df233c8492a4f24cfc250909bbb98738e2
parente51c3a3219c097a163b40a8c8ffb349fe328736a (diff)
downloadrpmdrake-68b77d9c5b2f019a2cce3800a5f15ab13ae2f5d7.tar
rpmdrake-68b77d9c5b2f019a2cce3800a5f15ab13ae2f5d7.tar.gz
rpmdrake-68b77d9c5b2f019a2cce3800a5f15ab13ae2f5d7.tar.bz2
rpmdrake-68b77d9c5b2f019a2cce3800a5f15ab13ae2f5d7.tar.xz
rpmdrake-68b77d9c5b2f019a2cce3800a5f15ab13ae2f5d7.zip
rpmdrake --help was failing due to i18n of help message (bug 14651)
-rwxr-xr-xrpmdrake7
1 files changed, 4 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index f047f1bb..176be6a9 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -20,7 +20,10 @@
#
# $Id$
+use strict;
use MDK::Common 'any';
+use lib qw(/usr/lib/libDrakX);
+use common;
BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk
my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ };
@@ -38,14 +41,12 @@ N(" --pkg-nosel=pkg1,.. show only these packages"),
N(" --pkg-sel=pkg1,.. preselect these packages"),
N(" --root force to run as root"),
N(" --search=pkg run search for \"pkg\""),
+""
), $basename->($0);
exit 0;
};
}
-use strict;
-use lib qw(/usr/lib/libDrakX);
-use common;
use rpmdrake;
#- This is needed because text printed by Gtk2 will always be encoded