From 0d8a3412ed1b51b4f54080cab3a88e245b305b80 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 2 Dec 2002 07:32:12 +0000 Subject: - fix gtk2 port - let it work with kernel 2.5 too --- perl-install/standalone/drakgw | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone/drakgw') diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index 3c955af53..b72632dae 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -111,7 +111,7 @@ sub fatal_quit ($) { my ($kernel_version) = c::kernel_version() =~ /(...)/; log::l("[drakgw] kernel_version $kernel_version"); -$kernel_version eq '2.4' or fatal_quit(N("Sorry, we support only 2.4 kernels.")); +$kernel_version >= 2.4 or fatal_quit(N("Sorry, we support only 2.4 kernels.")); begin: @@ -516,8 +516,8 @@ sub quit_global { } sub pur_gtk_mode { - require gtk2; - import gtk2 qw(:all); + require ugtk2; + import ugtk2 qw(:wrappers :helpers :create); my $setup_state = $shorewall && $shorewall->{masquerade} ? ($shorewall->{disabled} ? N("The setup has already been done, but it's currently disabled.") : -- cgit v1.2.1