From 418d6478a76ed48bc5815f09823d0110b68d03cd Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 20 Sep 2000 15:39:16 +0000 Subject: fixed install_rpm for every last rpm's --- perl-install/standalone/drakgw | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone/drakgw') diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index 535c9bbc4..6865d16b8 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -442,7 +442,7 @@ close SYSCONF_NETWORK; $f = "/usr/sbin/dhcpd"; -e $f or install_rpm("dhcp"); --e $f or ($in->ask_warn('', _("Could not install dhcp RPM with urpmi.")) and $in->exit(0)); +-e $f or fatal_quit(_("Could not install dhcp RPM with urpmi.")); -f $dhcpd_conf and rename($dhcpd_conf, "$dhcpd_conf.old"); local *DHCPDCONF; open DHCPDCONF, ">$dhcpd_conf" or die "Can't open $dhcpd_conf"; @@ -466,7 +466,7 @@ close DHCPDCONF; #- put the interface for the dhcp server in linuxconf config, for the /etc script of dhcpd -f $conf_linuxconf or install_rpm("linuxconf"); --f $conf_linuxconf or ($in->ask_warn('', _("Could not install linuxconf RPM with urpmi.")) and $in->exit(0)); +-f $conf_linuxconf or fatal_quit(_("Could not install linuxconf RPM with urpmi.")); open CONF_LINUXCONF, "$conf_linuxconf" or die "Can't open $conf_linuxconf"; my @conf_linuxconf_content = ; @@ -482,11 +482,11 @@ close CONF_LINUXCONF; $f = "/usr/sbin/named"; -e $f or install_rpm("bind"); --e $f or ($in->ask_warn('', _("Could not install bind RPM with urpmi.")) and $in->exit(0)); +-e $f or fatal_quit(_("Could not install bind RPM with urpmi.")); $f = "/var/named/named.local"; -e $f or install_rpm("caching-nameserver"); --e $f or ($in->ask_warn('', _("Could not install caching-nameserver RPM with urpmi.")) and $in->exit(0)); +-e $f or fatal_quit(_("Could not install caching-nameserver RPM with urpmi.")); #- start the daemons -- cgit v1.2.1