2009-08-28 Ramon Novoa <rnovoa@artica.es>

* 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
This commit is contained in:
Ramon Novoa 2009-08-28 11:07:52 +00:00
parent 8aa96f1874
commit 6ec485b5a2
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-08-28 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec,
pandora_server_installer: Autocreate the conf and md5 subdirectories.
2009-08-27 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Remote config .conf and

View File

@ -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/

View File

@ -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 " "