From 16390737c05849253fe5bf0d7b2d5593f7f683c0 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Thu, 21 Oct 2004 10:51:49 +0000 Subject: - backport fixes to MDK-10-update --- perl-install/standalone/printerdrake | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake index 42694f065..f6965dfbf 100755 --- a/perl-install/standalone/printerdrake +++ b/perl-install/standalone/printerdrake @@ -169,8 +169,12 @@ my ($menu, $factory) = create_factory_menu($::isEmbedded ? $::Plug : $us->{wnd}{ (); }, undef, '' ], [ N("/_Help"), undef, undef, undef, '' ], - [ N("/_Help").N("/_Help"), undef, sub { HelpSystem() }, undef, '', 'gtk-help' ], - [ N("/_Help").N("/_Report Bug"), undef, sub { system("$ENV{BROWSER} https://qa.$domainname &") }, undef, '', 'gtk-stop' ], + if_(-x "/usr/sbin/drakhelp_inst", + [ N("/_Help").N("/_Help"), undef, sub { HelpSystem() }, undef, '', 'gtk-help' ], + ), + if_(!-e "/etc/sysconfig/oem", + [ N("/_Help").N("/_Report Bug"), undef, sub { system("$ENV{BROWSER} https://qa.$domainname &") }, undef, '', 'gtk-stop' ], + ), [ N("/_Help").N("/_About..."), undef, \&About, undef, '', 'gtk-preferences' ] ) ); -- cgit v1.2.1