2009-09-30 Sancho Lerena <slerena@artica.es>

* pandora_server.spec: A complete uninstall for RPM. Database
        is not killed because user could be just uninstalling one of
        multiple servers and drop it will not be funny :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-09-30 00:00:22 +00:00
parent efa88dede2
commit ce852b9146
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-09-30 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: A complete uninstall for RPM. Database
is not killed because user could be just uninstalling one of
multiple servers and drop it will not be funny :-)
2009-09-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updatged build.

View File

@ -105,6 +105,20 @@ fi
chkconfig -d pandora_server
chkconfig -d tentacle_serverd
%postun
rm -Rf /etc/init.d/tentacle_serverd
rm -Rf /etc/init.d/pandora_server
rm -Rf %{prefix}pandora_server
rm -Rf /var/log/pandora
rm -Rf /usr/lib/perl5/site_perl/%{perl_version}/PandoraFMS/
rm -Rf /etc/pandora/pandora_server.conf
rm -Rf /var/spool/pandora
rm -Rf /etc/init.d/pandora_server /etc/init.d/tentacle_serverd
rm -Rf /usr/local/bin/pandora_exec /usr/local/bin/pandora_server
rm -Rf /usr/local/bin/tentacle_server
rm -Rf /etc/cron.daily/pandora_db
rm -Rf /etc/logrotate.d/pandora
%files
%defattr(750,pandora,root)