aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-13 15:03:31 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-13 15:03:31 +0000
commit2f64a9d5a118857b4b9b7fa23e61c91511331fd2 (patch)
tree22807cf8e6deb403538a9bc010dd833f44d6ce7e /rpmdrake.pm
parente0fcc4498b3536919e69f36ffbd3153b10c443da (diff)
downloadrpmdrake-2f64a9d5a118857b4b9b7fa23e61c91511331fd2.tar
rpmdrake-2f64a9d5a118857b4b9b7fa23e61c91511331fd2.tar.gz
rpmdrake-2f64a9d5a118857b4b9b7fa23e61c91511331fd2.tar.bz2
rpmdrake-2f64a9d5a118857b4b9b7fa23e61c91511331fd2.tar.xz
rpmdrake-2f64a9d5a118857b4b9b7fa23e61c91511331fd2.zip
Move the "Show automatically selected packages" option in a menu
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index df32922c..e41f0132 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -70,6 +70,7 @@ our @EXPORT = qw(
update_sources_interactive
add_medium_and_check
check_update_media_version
+ strip_first_underscore
);
our $typical_width;
@@ -773,4 +774,6 @@ sub open_help {
);
}
+sub strip_first_underscore { join '', map { s/_//; $_ } @_ }
+
1;