#!/usr/bin/perl use lib qw(/usr/lib/libDrakX); use common; use lang; use interactive; use do_pkgs; use run_program; use standalone; my $locales_prefix = 'locales-'; my $in = interactive->vnew; my $wait = $in->wait_message(N("Localization packages removal"), N("Finding unused localization packages...")); my $do_pkgs = do_pkgs->do_pkgs($in); my $locale = lang::read(); my $selected_locale = $locales_prefix. $locale->{lang}; my @available_locales = $do_pkgs->are_installed($locales_prefix . '*'); my @unselected_locales; @unselected_locales = difference2(\@available_locales, [ $selected_locale ]) if member($selected_locale, @available_locales); undef $wait; #- we should have some gurpme if (@unselected_locales && $in->ask_yesorno( N("Localization packages removal"), N("The following localization packages do not seem to be useful for your system:") . "\n" . join("\n", map { " " . $_ } sort(@unselected_locales)) . "\n" . N("Do you want to remove these packages?"))) { my $_wait = $in->wait_message(N("Please wait"), N("Removing packages...")); run_program::run('urpme', '--auto', @unselected_locales); } # use script from One to list language files (/usr/share/locale mainly) and remove them? tion value='distro/mes5-2.6.33'>distro/mes5-2.6.33 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-28 11:11:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-28 11:11:53 +0000
commita8a2bd08935b5e684b4db55c3947ec3b3ca40ac2 (patch)
treea272085bb05c70a83b15aedf8bad21fcd5a794cd
parent0ca247791d4ac005f21104daa493fb7e3dbc59bc (diff)
downloaddrakx-a8a2bd08935b5e684b4db55c3947ec3b3ca40ac2.tar
drakx-a8a2bd08935b5e684b4db55c3947ec3b3ca40ac2.tar.gz
drakx-a8a2bd08935b5e684b4db55c3947ec3b3ca40ac2.tar.bz2
drakx-a8a2bd08935b5e684b4db55c3947ec3b3ca40ac2.tar.xz
drakx-a8a2bd08935b5e684b4db55c3947ec3b3ca40ac2.zip
*** empty log message ***
Diffstat
-rw-r--r--move/todo4
1 files changed, 0 insertions, 4 deletions
diff --git a/move/todo b/move/todo
index 36fdb5211..afa2e4e03 100644
--- a/move/todo
+++ b/move/todo
@@ -25,10 +25,6 @@ kill root console on #2 when kde is ready? e.g. password locked screensaver
Click on the Menu/Doc/Howtos > Fail
-we can't setup kde language in /usr/share/kdeglobals, need to do
-it in homedir directly from lang::write
-
-
usb key
/etc/X11/X