diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-26 13:42:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-26 13:42:48 +0000 |
commit | 6d8f55d9f975b9837637c0fe5a5018cd2957f489 (patch) | |
tree | 9766313e35fe0234356bd1dab78eb012684c6f6a | |
parent | 4aae606f5aa4ed3f44e21e9a1743fc951a4dc761 (diff) | |
download | drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar.gz drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar.bz2 drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.tar.xz drakx-6d8f55d9f975b9837637c0fe5a5018cd2957f489.zip |
add --gui in order to start in "mcc" state (aka not in wizard mode)
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 82c7af43c..38ce3e4a6 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -60,7 +60,7 @@ MDK::Common::Globals::init( connect_prog => "/etc/sysconfig/network-scripts/net_cnx_pg" ); -$::isEmbedded && ref($in) =~ /gtk/ or goto dd; +($::isEmbedded || /--gui/) && ref($in) =~ /gtk/ or goto dd; require ugtk2; ugtk2->import(qw(:create :dialogs :helpers :wrappers)); |