2010-06-04 Ramon Novoa <rnovoa@artica.es>

* pandora_server.spec: Fixed the %postun target.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-06-04 10:37:26 +00:00
parent d7f110d5ca
commit b16a798fd4
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-06-04 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Fixed the %postun target.
2010-06-04 Ramon Novoa <rnovoa@artica.es>
* pandora_console.spec: Fixed. Upgrading an RPM broke the installation.

View File

@ -119,6 +119,12 @@ chkconfig --del pandora_server
chkconfig --del tentacle_serverd
%postun
# Upgrading
if [ "$1" = "1" ]; then
exit 0
fi
rm -Rf /etc/init.d/tentacle_serverd
rm -Rf /etc/init.d/pandora_server
rm -Rf %{prefix}pandora_server