From 727af2d68a728c0d4bdca630e3459138e22d275f Mon Sep 17 00:00:00 2001 From: slerena Date: Mon, 28 Dec 2009 18:37:58 +0000 Subject: [PATCH] 2009-12-28 Sancho Lerena * pandora_agent.spec: Fixed missing var/spool/pandora/data_out directory :-/ git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 5 +++++ pandora_agents/linux/pandora_agent.spec | 8 ++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 96755f1345..37d3a10f5c 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2009-12-28 Sancho Lerena + + * pandora_agent.spec: Fixed missing var/spool/pandora/data_out + directory :-/ + 2009-12-18 Sancho Lerena * unix/pandora_agent_installer, diff --git a/pandora_agents/linux/pandora_agent.spec b/pandora_agents/linux/pandora_agent.spec index 357f77bc87..60b8865913 100755 --- a/pandora_agents/linux/pandora_agent.spec +++ b/pandora_agents/linux/pandora_agent.spec @@ -39,13 +39,10 @@ mkdir -p $RPM_BUILD_ROOT/usr/sbin/ mkdir -p $RPM_BUILD_ROOT/etc/pandora/ mkdir -p $RPM_BUILD_ROOT/etc/init.d/ mkdir -p $RPM_BUILD_ROOT/var/log/pandora/ +mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_out cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_agent/ cp -aRf $RPM_BUILD_ROOT%{prefix}/pandora_agent/tentacle_client $RPM_BUILD_ROOT/usr/bin/ -%if "%{_vendor}" == "redhat" - mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/ -%else - mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/ -%endif +mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/ mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent_daemon $RPM_BUILD_ROOT/etc/init.d/pandora_agent_daemon # Checking old config file (if exists) @@ -66,7 +63,6 @@ rm -Rf $RPM_BUILD_ROOT exit 0 - %post if [ ! -d /etc/pandora ] ; then mkdir -p /etc/pandora