summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 3ca2a22bc..64b6fec79 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -582,7 +582,7 @@ sub _find_imgfile {
@extensions or @extensions = qw(.png .xpm);
if ($f !~ m|^/|) {
foreach my $path (icon_paths()) {
- -e "$path/$f$_" and $f = "$path/$f$_" foreach '', @extensions;
+ -f "$path/$f$_" and $f = "$path/$f$_" foreach '', @extensions;
}
}
return $f;