summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index eb67ddb61..81f4fc9db 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -209,7 +209,7 @@ sub xmodmap_file {
run_program::run("extract_archive", "/usr/share/xmodmap.cz2", '/tmp', "xmodmap.$keyboard");
$f = "/tmp/xmodmap.$keyboard";
}
- $f;
+ -e $f && $f;
}
sub setup($) {