summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-12 01:23:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-12 01:23:59 +0000
commit9d7c901939851998fae59eb6151612bc8c87ce9e (patch)
tree2bed830f865f73a857837be21dc0599756aeedec /perl-install
parentd375cd72acbcf57dd99a50db11923ed1543f7df2 (diff)
downloaddrakx-9d7c901939851998fae59eb6151612bc8c87ce9e.tar
drakx-9d7c901939851998fae59eb6151612bc8c87ce9e.tar.gz
drakx-9d7c901939851998fae59eb6151612bc8c87ce9e.tar.bz2
drakx-9d7c901939851998fae59eb6151612bc8c87ce9e.tar.xz
drakx-9d7c901939851998fae59eb6151612bc8c87ce9e.zip
cleanup
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index dc13751d1..42d265cd8 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -875,7 +875,7 @@ sub set {
#- removing everything
#- except in model locale: only removing LC_COLLATE if it is there
#eval { rm_rf($_ eq $model_locale ? "$dir/$_/LC_COLLATE" : "$dir/$_") } foreach all($dir);
- eval { if ($_ ne $model_locale) { rm_rf("$dir/$_"); }; } foreach all($dir);
+ eval { $_ ne $model_locale and rm_rf("$dir/$_") } foreach all($dir);
if (!-e "$dir/$model_locale") {
#- getting the model locale