summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-03 07:12:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-03 07:12:02 +0000
commitf027459b38e2cdf14d00a524214bf15395ad18d0 (patch)
tree81d6979b8bf0a596489a2062fce486e9b9f90b3e /perl-install/common.pm
parent7d930c4732c73238a8ee0b5df8cb163ae12f446c (diff)
downloaddrakx-f027459b38e2cdf14d00a524214bf15395ad18d0.tar
drakx-f027459b38e2cdf14d00a524214bf15395ad18d0.tar.gz
drakx-f027459b38e2cdf14d00a524214bf15395ad18d0.tar.bz2
drakx-f027459b38e2cdf14d00a524214bf15395ad18d0.tar.xz
drakx-f027459b38e2cdf14d00a524214bf15395ad18d0.zip
drop untranslate which is unused and bad practice
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 5cdf6442b..1ffb5d3cf 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -9,7 +9,7 @@ use vars qw(@ISA @EXPORT $SECTORSIZE);
@ISA = qw(Exporter);
# no need to export ``_''
-@EXPORT = qw($SECTORSIZE N N_ check_for_xserver files_exist formatTime formatXiB is_xbox makedev mandrake_release removeXiBSuffix require_root_capability salt setVirtual set_alternative set_l10n_sort set_permissions translate unmakedev untranslate);
+@EXPORT = qw($SECTORSIZE N N_ check_for_xserver files_exist formatTime formatXiB is_xbox makedev mandrake_release removeXiBSuffix require_root_capability salt setVirtual set_alternative set_l10n_sort set_permissions translate unmakedev);
# perl_checker: RE-EXPORT-ALL
push @EXPORT, @MDK::Common::EXPORT;
@@ -74,13 +74,6 @@ sub translate {
$s;
}
-
-sub untranslate {
- my $s = shift || return;
- foreach (@_) { translate($_) eq $s and return $_ }
- die "untranslate failed";
-}
-
#- This is needed because text printed by Gtk2 will always be encoded
#- in UTF-8;
#- we first check if LC_ALL is defined, because if it is, changing