Fixed RPM un-install clean-up issues and modified to no longer delete

the users created during RPM install to avoid problems created with
files left around that were created by the users.

Also removed un-necessary BuildRequire dependency on glade-sharp from
CASA_auth_token_server package.
This commit is contained in:
Juan Carlos Luciani
2007-02-12 16:07:25 +00:00
parent e8be849feb
commit f97b5ba909
2 changed files with 3 additions and 7 deletions

View File

@@ -242,6 +242,8 @@ fi
%postun
# Always undeploy our webapp to force re-deployment on upgrade cases
rm -drf /srv/www/casaats/webapps/CasaAuthTokenSvc
rm -drf /srv/www/casaats/work/Catalina
rm -f /srv/www/casaats/conf/server.xml
%restart_on_update casa_atsd
%insserv_cleanup
@@ -251,9 +253,6 @@ if test "$1" == 1; then
exit 0
fi
# Delete the casaatsd user
userdel casaatsd
%files
%defattr(-,root,root)