diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-06 02:41:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-06 02:41:57 +0000 |
commit | 7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a (patch) | |
tree | 1d93caded00b0d67c443ec09b9eadb18d371218b | |
parent | 5781532bea6e435e4da598260c1e40bc039c4331 (diff) | |
download | drakx-backup-do-not-use-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar drakx-backup-do-not-use-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar.gz drakx-backup-do-not-use-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar.bz2 drakx-backup-do-not-use-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.tar.xz drakx-backup-do-not-use-7e25a49e0ddcf56c8abd6d5a9ed26c00f821d07a.zip |
fix typo
-rw-r--r-- | perl-install/install_steps.pm | 4 |
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); |