summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86a7116)
raw | patch | inline | side by side (parent: 86a7116)
author | scheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 17 Nov 2006 06:23:15 +0000 (06:23 +0000) | ||
committer | scheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 17 Nov 2006 06:23:15 +0000 (06:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5143 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/gosa.spec | patch | blob | history |
diff --git a/contrib/gosa.spec b/contrib/gosa.spec
index 1a8d8eb96ea8eb81007b0f332e7ae69a8f604128..287118113c2a9132e5c049c4f7ab7fea21a7e639 100644 (file)
--- a/contrib/gosa.spec
+++ b/contrib/gosa.spec
# Add shells file to /etc/gosa
/bin/cp /etc/shells /etc/gosa
+%pre
+# Cleanup compile dir on updates
+[ -d /var/spool/gosa ] && rm -rf /var/spool/gosa/*
+
+%postun
+# Remove temporary files, just to be sure
+rm -rf /var/spool/gosa/
+
%files
%defattr(-,%{apacheuser},%{apachegroup})
%doc %attr(-,root,root) AUTHORS TODO README README.safemode Changelog COPYING INSTALL FAQ
%changelog
* Fri Nov 17 2006 Lars Scheiter <lars.scheiter@GONICUS.de> 2.5.6
-- New Upstream
+- New upstream
+- Cleanup temporary dir after package removal
+- Cleanup temporary dir before update
* Thu Sep 28 2006 Lars Scheiter <lars.scheiter@GONICUS.de> 2.5.4
- New upstream version