diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-22 16:36:52 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-22 16:36:52 +0000 |
commit | 8cb296dff1704b8b7247ebe8635a54e8336edb58 (patch) | |
tree | 4bd459fded1b169683083342e433debb98e16e9c /dhcp_wizard/scripts | |
parent | 232ed05f74df058f955466b13b779e2624fd8f22 (diff) | |
download | drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.gz drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.bz2 drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.tar.xz drakwizard-8cb296dff1704b8b7247ebe8635a54e8336edb58.zip |
Fix search and replace for __WIZ_HOME__ and fix wrongly committed files
Diffstat (limited to 'dhcp_wizard/scripts')
-rw-r--r-- | dhcp_wizard/scripts/Dhcpconf.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp_wizard/scripts/Dhcpconf.pm b/dhcp_wizard/scripts/Dhcpconf.pm index 4b508565..3a3a3e8d 100644 --- a/dhcp_wizard/scripts/Dhcpconf.pm +++ b/dhcp_wizard/scripts/Dhcpconf.pm @@ -1,7 +1,7 @@ #!/usr/bin/perl package Dhcpconf; -require "/usr/share/wizards/common/scripts/Vareqval.pm"; +require "__WIZ_HOME__/common/scripts/Vareqval.pm"; use MDK::Common; use strict; @@ -66,7 +66,7 @@ sub do_it { die "can't make a temp file: $!"; open(NEW, "> $tmp") or die "can't open $tmp: $!"; - open(OLD, "< /usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default") or + open(OLD, "< __WIZ_HOME__/dhcp_wizard/scripts/dhcpd.conf.default") or die "can't open default: $!"; while (<OLD>) { s|__hname__|$wiz_host_name|g; |