diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-01-06 19:40:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-01-06 19:40:54 +0000 |
commit | c90d6b259ef290cc5cf565b3d41e19d1d9e76d12 (patch) | |
tree | 90d43749eb1c43a4c8ae0b28f4e7c10cd27feb1b | |
parent | 4a3cfc72e287db5d7c7741e5df5524e71bf89158 (diff) | |
download | drakx-c90d6b259ef290cc5cf565b3d41e19d1d9e76d12.tar drakx-c90d6b259ef290cc5cf565b3d41e19d1d9e76d12.tar.gz drakx-c90d6b259ef290cc5cf565b3d41e19d1d9e76d12.tar.bz2 drakx-c90d6b259ef290cc5cf565b3d41e19d1d9e76d12.tar.xz drakx-c90d6b259ef290cc5cf565b3d41e19d1d9e76d12.zip |
(setup): don't xmodmap if DISPLAY is unset
-rw-r--r-- | perl-install/keyboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm index 50ac2cc6d..555843390 100644 --- a/perl-install/keyboard.pm +++ b/perl-install/keyboard.pm @@ -292,7 +292,7 @@ sub setup { } } my $f = xmodmap_file($keyboard); - eval { run_program::run('xmodmap', $f) } unless $::testing || !$f; + eval { run_program::run('xmodmap', $f) } if $f && !$::testing && $ENV{DISPLAY}; } sub write { |