From 7401f96c20c17033ff6c5642467527808fe6dfcd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Jan 2003 08:34:19 +0000 Subject: - explain why is there a wrapper and what's the universes - untabify menudrake launchers --- wrapper | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'wrapper') diff --git a/wrapper b/wrapper index 1a18341b..522d4e12 100644 --- a/wrapper +++ b/wrapper @@ -18,13 +18,17 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# The mcc wrapper goals are : +# - prevent bad gtk bugs if one launch it from the cli and suspend itt +# - having less overhead for launching drakxconf if cli version must be used + if (!$ENV{DISPLAY} || system('/usr/X11R6/bin/xtest')) { exec ("/usr/sbin/drakxconf; reset"); } else { unless (my $pid = fork) { - print "cannot fork\n" unless defined $pid; - exec ("/usr/sbin/drakconf.real"); + print "cannot fork\n" unless defined $pid; + exec ("/usr/sbin/drakconf.real"); } } -- cgit v1.2.1