From 58e97a946f52616d8fd90e88f4fa7a162714fb26 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 Oct 2009 12:56:11 +0000 Subject: finish-install: do not offer to configure 3D desktop if none is installed (requires drak3d >= 1.27) --- perl-install/standalone/finish-install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index c8cd43096..80240e6b5 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -172,6 +172,8 @@ sub ask_users() { sub ask_glx() { require Xconfig::glx; + my @installed_types = Xconfig::glx::filter_installed_types(\@Xconfig::glx::gl_compositing_types); + any { $_->{type} ne "none" } @installed_types or return; my $glx = Xconfig::glx::detect_may_install($in->do_pkgs); if ($glx->{supported} && Xconfig::glx::choose_interactive($in, $glx, 'installed_only')) { Xconfig::glx::write($glx); -- cgit v1.2.1