From de6e60435383dbebc186933d54b1b9bc68aba118 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 22 Aug 2003 21:29:12 +0000 Subject: fix the IFCFG reset of PATH env var which breaks packages installation --- common/IFCFG.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common/IFCFG.pm') diff --git a/common/IFCFG.pm b/common/IFCFG.pm index e86128d1..0d0c96b2 100644 --- a/common/IFCFG.pm +++ b/common/IFCFG.pm @@ -18,7 +18,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -package IFCFG; +package MDK::Wizard::IFCFG; use strict; use lib qw(/usr/lib/libDrakX); use Data::Dumper; @@ -27,10 +27,9 @@ use network::network; #my $file = "/etc/sysconfig/network-scripts/drakconnect_conf"; #!-f $file and die "no such $file"; -sub new { +sub new { my $self = {}; - $ENV{PATH} = ""; my $ifconfig = `LC_ALL=C /sbin/ifconfig -a`; my $device = 'NONE'; my @interfaces; -- cgit v1.2.1