summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 476d473bb..4c5678472 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -357,7 +357,7 @@ sub unselectAllPackages($) {
sub urpmidir() {
my $v = "$::prefix/var/lib/urpmi";
- -l $v && !-e _ and unlink $v and mkdir $v, 0755; #- dangling symlink
+ -l $v && !-e $v and unlink $v and mkdir $v, 0755; #- dangling symlink
-w $v ? $v : '/tmp';
}