From 47e2da906f0e12aa200a894ba9d23ae203da484c Mon Sep 17 00:00:00 2001 From: ramonn Date: Fri, 28 Aug 2009 11:07:52 +0000 Subject: [PATCH] 2009-08-28 Ramon Novoa * pandora_server.spec, pandora_server_installer: Autocreate the conf and md5 subdirectories. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/pandora_server.spec | 2 ++ pandora_server/pandora_server_installer | 2 ++ 3 files changed, 9 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index fe13ff932d..f2aa7b04ec 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2009-08-28 Ramon Novoa + + * pandora_server.spec, + pandora_server_installer: Autocreate the conf and md5 subdirectories. + 2009-08-27 Ramon Novoa * util/tentacle_serverd: Remote config .conf and diff --git a/pandora_server/pandora_server.spec b/pandora_server/pandora_server.spec index 7f9c7198a6..7da98e96cd 100644 --- a/pandora_server/pandora_server.spec +++ b/pandora_server/pandora_server.spec @@ -50,6 +50,8 @@ mkdir -p $RPM_BUILD_ROOT/usr/sbin/ mkdir -p $RPM_BUILD_ROOT/etc/init.d/ mkdir -p $RPM_BUILD_ROOT/etc/pandora/ mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_in +mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_in/conf +mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_in/md5 mkdir -p $RPM_BUILD_ROOT/var/log/pandora/ mkdir -p $RPM_BUILD_ROOT%{prefix}/pandora_server/conf/ mkdir -p $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/$perl_version/ diff --git a/pandora_server/pandora_server_installer b/pandora_server/pandora_server_installer index 919729b389..2e0f3def4e 100755 --- a/pandora_server/pandora_server_installer +++ b/pandora_server/pandora_server_installer @@ -91,6 +91,8 @@ install () { echo "Creating common Pandora FMS directories" mkdir /var/spool/pandora 2> /dev/null mkdir /var/spool/pandora/data_in 2> /dev/null + mkdir /var/spool/pandora/data_in/conf 2> /dev/null + mkdir /var/spool/pandora/data_in/md5 2> /dev/null id pandora if [ $? -eq 0 ]; then echo " "