summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-12-02 07:32:12 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-12-02 07:32:12 +0000
commit0d8a3412ed1b51b4f54080cab3a88e245b305b80 (patch)
treef3e9c4b97151e032601fcb2a724090af2a0e8392
parentd082ff3e212a8b3e1d50859466778d2a1e5dfa3e (diff)
downloaddrakx-0d8a3412ed1b51b4f54080cab3a88e245b305b80.tar
drakx-0d8a3412ed1b51b4f54080cab3a88e245b305b80.tar.gz
drakx-0d8a3412ed1b51b4f54080cab3a88e245b305b80.tar.bz2
drakx-0d8a3412ed1b51b4f54080cab3a88e245b305b80.tar.xz
drakx-0d8a3412ed1b51b4f54080cab3a88e245b305b80.zip
- fix gtk2 port
- let it work with kernel 2.5 too
-rwxr-xr-xperl-install/standalone/drakgw6
1 files changed, 3 insertions, 3 deletions
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.") :