summaryrefslogtreecommitdiffstats
path: root/common/IFCFG.pm
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-08-22 21:29:12 +0000
committerFlorent Villard <warly@mandriva.com>2003-08-22 21:29:12 +0000
commitde6e60435383dbebc186933d54b1b9bc68aba118 (patch)
tree0f8111bf3792d88d39d64fde0793e20dd7305607 /common/IFCFG.pm
parent150bc87396011253a541ca0ad32250e926ab0ecc (diff)
downloaddrakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar.gz
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar.bz2
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.tar.xz
drakwizard-de6e60435383dbebc186933d54b1b9bc68aba118.zip
fix the IFCFG reset of PATH env var which breaks packages installation
Diffstat (limited to 'common/IFCFG.pm')
-rw-r--r--common/IFCFG.pm5
1 files changed, 2 insertions, 3 deletions
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;