summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-06 02:41:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-06 02:41:57 +0000
commit7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a (patch)
tree1d93caded00b0d67c443ec09b9eadb18d371218b /perl-install
parent5781532bea6e435e4da598260c1e40bc039c4331 (diff)
downloaddrakx-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar
drakx-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar.gz
drakx-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar.bz2
drakx-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar.xz
drakx-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.zip
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 3479fbbb4..32b12a0c6 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -369,8 +369,8 @@ sub beforeInstallPackages {
my @should_not_be_dirs = qw(/usr/X11R6/lib/X11/xkb /usr/share/locale/zh_TW/LC_TIME /usr/include/GL);
my @should_be_dirs = qw(/etc/X11/xkb);
my @to_remove = (
- (grep { !-l $f && -d $f } map { "$::prefix$_" } @should_not_be_dirs),
- (grep { -l $f || !-d $f && -e $f } map { "$::prefix$_" } @should_be_dirs),
+ (grep { !-l $_ && -d $_ } map { "$::prefix$_" } @should_not_be_dirs),
+ (grep { -l $_ || !-d $_ && -e $_ } map { "$::prefix$_" } @should_be_dirs),
);
rm_rf(@to_remove);