summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-09 04:46:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-09 04:46:04 +0000
commit9beb4ea0991570f8e528c960692923f30e1e6ff6 (patch)
treed79683efc2420603d6562028abe8604158308ea9 /perl-install/lang.pm
parent29befffc2d3f771ded66883f7a79f0327f1ea165 (diff)
downloaddrakx-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar
drakx-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar.gz
drakx-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar.bz2
drakx-9beb4ea0991570f8e528c960692923f30e1e6ff6.tar.xz
drakx-9beb4ea0991570f8e528c960692923f30e1e6ff6.zip
replace lang::get_unneeded_png_lang_files() with lang::png_lang_files
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 44b620de1..90f9e2bd4 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1171,6 +1171,11 @@ sub during_install__l2charset {
uc($c);
}
+#- used in Makefile
+sub png_lang_files() {
+ print join(' ', map { "pixmaps/langs/lang-$_.png" } list_langs());
+}
+
sub check() {
$^W = 0;
my $ok = 1;