2009-12-28 Sancho Lerena <slerena@artica.es>
* 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
This commit is contained in:
parent
2c9fe7ea2d
commit
727af2d68a
|
@ -1,3 +1,8 @@
|
|||
2009-12-28 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* pandora_agent.spec: Fixed missing var/spool/pandora/data_out
|
||||
directory :-/
|
||||
|
||||
2009-12-18 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* unix/pandora_agent_installer,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue