2010-07-20 Ramon Novoa <rnovoa@artica.es>

* pandora_server_installer: Delete the spool/pandora directory
          if no agent is installed on the same machine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-07-20 12:01:47 +00:00
parent 5416881b00
commit f88fa49e1a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Delete the spool/pandora directory
if no agent is installed on the same machine.
2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Set safer permissions for data_in/conf.

View File

@ -432,7 +432,11 @@ uninstall () {
fi
fi
echo "Removing Pandora Servers"
rm -Rf $PANDORA_SPOOL/data_in/
if [ -d $PANDORA_SPOOL/data_out ]; then
rm -Rf $PANDORA_SPOOL/data_in
else
rm -Rf $PANDORA_SPOOL
fi
echo "If the user Pandora is not being used for any other operations, please delete using the following commands:"
echo " userdel pandora"