summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-23 14:30:44 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-23 14:30:44 +0000
commite9614d1cfa7c47327d059661588e0704238e8601 (patch)
treeee94219eede9b8d1600fd1d2ff12b2430c2b87ed /perl-install
parentbfb4ac7291c9d5fe0bb49d0cec933b703bb8ea8d (diff)
downloaddrakx-e9614d1cfa7c47327d059661588e0704238e8601.tar
drakx-e9614d1cfa7c47327d059661588e0704238e8601.tar.gz
drakx-e9614d1cfa7c47327d059661588e0704238e8601.tar.bz2
drakx-e9614d1cfa7c47327d059661588e0704238e8601.tar.xz
drakx-e9614d1cfa7c47327d059661588e0704238e8601.zip
remove useless ::prefix references
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakconnect6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 0a7be7f82..5ac70a10c 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -275,9 +275,9 @@ sub build_tree {
$intf->{pages} = { 'TCP/IP' => 1, 'Account' => 1, 'Modem' => 1, 'Options' => 1 };
# FIXME: code duplication, should be in network::modem::read_config
$intf->{device} = $netc->{autodetect}{modem};
- my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc");
+ my %l = getVarsFromSh("/usr/share/config/kppprc");
- $intf->{kppprc} = "$::prefix/root/.kde/share/config/kppprc";
+ $intf->{kppprc} = "/root/.kde/share/config/kppprc";
my %m = getVarsFromSh($intf->{kppprc});
$l{$_} = $m{$_} foreach keys %m;
@@ -854,7 +854,7 @@ Configure them first by clicking on 'Configure'")));
}
my $widget_temp;
- if (-e "$::prefix/etc/sysconfig/network-scripts/ifcfg-$interface") {
+ if (-e "/etc/sysconfig/network-scripts/ifcfg-$interface") {
$widget_temp = gtksignal_connect(Gtk2::Button->new(get_intf_status($interface)),
clicked => sub {
system("/sbin/if" . (ethisup($interface) ? N("down") : N("up")) . " $interface");