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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user