summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/main.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 06:29:49 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 06:29:49 +0000
commit84071688ab52d6af5cff69229d146342ae444941 (patch)
tree6a9e77d98d6189a0bc8112ed78f13cb57f795062 /lib/Xconfig/main.pm
parent4b002564716195df76fb0de1fc264c4765d7866e (diff)
downloaddrakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar
drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar.gz
drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar.bz2
drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.tar.xz
drakx-kbd-mouse-x11-84071688ab52d6af5cff69229d146342ae444941.zip
perl_checker cleanups
Diffstat (limited to 'lib/Xconfig/main.pm')
-rw-r--r--lib/Xconfig/main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/main.pm b/lib/Xconfig/main.pm
index d92c27f..55d88ba 100644
--- a/lib/Xconfig/main.pm
+++ b/lib/Xconfig/main.pm
@@ -55,7 +55,7 @@ sub configure_everything_auto_install {
#- still try to configure screen and resolution (to set default background)
#- if card configuration failed (for example if best driver is not available)
- $X->{resolutions} = Xconfig::resolution_and_depth::configure_auto_install($raw_X, $X->{card} ||{}, $X->{monitors}, $old_X);
+ $X->{resolutions} = Xconfig::resolution_and_depth::configure_auto_install($raw_X, $X->{card} || {}, $X->{monitors}, $old_X);
return if !$configured;
my $action = &write($raw_X, $X, $options->{skip_fb_setup});
@@ -214,7 +214,7 @@ sub write {
Xconfig::various::check_xorg_conf_symlink();
Xconfig::various::setup_kms();
if ($X->{resolutions}[0]{bios}) {
- Xconfig::various::setupFB($X->{resolutions}[0]{bios}) if !$o_skip_fb_setup;;
+ Xconfig::various::setupFB($X->{resolutions}[0]{bios}) if !$o_skip_fb_setup;
'need_reboot';
} elsif (my $resolution = $only_resolution && eval { $raw_X->get_resolution }) {
'need_xrandr' . sprintf(' --size %dx%d', @$resolution{'X', 'Y'});