From 5332629821a06163c76f3b04fd52c692ec11a65d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 3 Aug 2009 16:56:09 +0000 Subject: [PATCH] - recover dependencies.cfg Changed files: nagios.spec -> 1.129 --- nagios.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nagios.spec b/nagios.spec index d418110..30ec5a6 100644 --- a/nagios.spec +++ b/nagios.spec @@ -40,7 +40,6 @@ BuildRequires: rpmbuild(macros) >= 1.268 BuildRequires: sed >= 4.0 BuildRequires: tar >= 1:1.15.1 Requires(post,preun): /sbin/chkconfig -Requires(triggerpostun): sed >= 4.0 Requires: %{name}-common = %{version}-%{release} Requires: /bin/mail Requires: nagios-notify @@ -347,7 +346,7 @@ chown root:http %{_sysconfdir}/cgi.cfg %triggerpostun -- nagios < 3.1.2-3 # restore lost files -for a in services.cfg serviceextinfo.cfg hosts.cfg hostgroups.cfg hostextinfo.cfg escalations.cfg checkcommands.cfg misccommands.cfg; do +for a in dependencies.cfg services.cfg serviceextinfo.cfg hosts.cfg hostgroups.cfg hostextinfo.cfg escalations.cfg checkcommands.cfg misccommands.cfg; do if [ -f %{_sysconfdir}/$a.rpmsave -a ! -f %{_sysconfdir}/$a ]; then mv -f %{_sysconfdir}/$a{.rpmsave,} fi -- 2.44.0