aboutsummaryrefslogtreecommitdiffstats
path: root/build/code_sniffer
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-10 23:07:07 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-10 23:20:48 +0100
commitaa84f7de04b0efdf871d75694aee60e5ecf37f56 (patch)
tree76e117a5a69a4ca2e29c5c27908e0859b361a97c /build/code_sniffer
parent47f2caff6b3f05f6703e359bf4712bd69d23c04c (diff)
downloadforums-aa84f7de04b0efdf871d75694aee60e5ecf37f56.tar
forums-aa84f7de04b0efdf871d75694aee60e5ecf37f56.tar.gz
forums-aa84f7de04b0efdf871d75694aee60e5ecf37f56.tar.bz2
forums-aa84f7de04b0efdf871d75694aee60e5ecf37f56.tar.xz
forums-aa84f7de04b0efdf871d75694aee60e5ecf37f56.zip
[ticket/11525] Prefix id parameter with 'g' again when its a group avatar
PHPBB3-11525
Diffstat (limited to 'build/code_sniffer')
0 files changed, 0 insertions, 0 deletions
7space:mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-26 14:27:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-26 14:27:36 +0000
commit5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5 (patch)
tree6fcb1061f61245f6733c6fc8d17683ee9ce1f2ca /perl-install/standalone
parent893a0a70abc449d8dad2212923b4eed33d7c169d (diff)
downloaddrakx-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar
drakx-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar.gz
drakx-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar.bz2
drakx-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar.xz
drakx-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.zip
no_comment
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakboot7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 2bcef5da4..8bff3e2eb 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -26,9 +26,10 @@ my %l = (
);
-x $l{$_} or delete $l{$_} foreach grep { $l{$_} } keys %l;
-my $cmd = $l{$in->ask_from_list(_("Choice"), _("What do you want to do?"), [ keys %l ])};
-exec $cmd if $cmd;
-
+if ($ENV{DISPLAY} && c::Xtest($ENV{DISPLAY})) {
+ my $cmd = $l{$in->ask_from_list(_("Choice"), _("What do you want to do?"), [ keys %l ])};
+ exec $cmd if $cmd;
+}
my $bootloader = lilo::read('', '/etc/lilo.conf');
local ($_) = `detectloader`;