From 777306cb3860c5ce0d5304ecab3be876ef7e6e4a Mon Sep 17 00:00:00 2001 From: Danny Terweij Date: Sun, 23 Feb 2014 22:11:17 +0100 Subject: [PATCH] Project issue #992. - wrong package installing tinydns --- kloxo/httpdocs/htmllib/lib/dns/dnslib.php | 2 +- kloxo/httpdocs/htmllib/lib/dns/driver/dns__djbdnslib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kloxo/httpdocs/htmllib/lib/dns/dnslib.php b/kloxo/httpdocs/htmllib/lib/dns/dnslib.php index b7b0342b6c..a1a86382fc 100644 --- a/kloxo/httpdocs/htmllib/lib/dns/dnslib.php +++ b/kloxo/httpdocs/htmllib/lib/dns/dnslib.php @@ -124,7 +124,7 @@ static function switchProgramPre($old, $new) lxshell_return("rpm", "-e", "djbdns"); lunlink("/etc/init.d/djbdns"); } else { - lxshell_return("yum", "-y", "install", "djbdns", "daemontools"); + lxshell_return("yum", "-y", "install", "djbdns", "daemontools-toaster"); if ($ret) { throw new lxexception('install_djbdns_failed', 'parent'); } lxshell_return("service", "named", "stop"); lxfile_rm_rec("/var/tinydns"); diff --git a/kloxo/httpdocs/htmllib/lib/dns/driver/dns__djbdnslib.php b/kloxo/httpdocs/htmllib/lib/dns/driver/dns__djbdnslib.php index 67d41ec5c5..c0d289462e 100644 --- a/kloxo/httpdocs/htmllib/lib/dns/driver/dns__djbdnslib.php +++ b/kloxo/httpdocs/htmllib/lib/dns/driver/dns__djbdnslib.php @@ -7,7 +7,7 @@ class Dns__djbdns extends lxDriverClass { static function installMe() { - lxshell_return("yum", "-y", "install", "djbdns", "daemontools"); + lxshell_return("yum", "-y", "install", "djbdns", "daemontools-toaster"); if ($ret) { throw new lxexception('install_djbdns_failed', 'parent'); } lxfile_rm_rec("/var/tinydns"); lxfile_rm_rec("/var/axfrdns");