summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authordenise.eckstein <denise.eckstein>2005-04-17 02:58:22 +0000
committerdenise.eckstein <denise.eckstein>2005-04-17 02:58:22 +0000
commit59bcf5a37debc8a1e3119adbd33b3f112db8ee77 (patch)
tree000f76833c2609596dc3f42839c4326b691e1e53 /Makefile.Release
parent3ac313173ab2b307f5708ca3c14851659a9b412a (diff)
downloadtog-pegasus-59bcf5a37debc8a1e3119adbd33b3f112db8ee77.zip
tog-pegasus-59bcf5a37debc8a1e3119adbd33b3f112db8ee77.tar.gz
tog-pegasus-59bcf5a37debc8a1e3119adbd33b3f112db8ee77.tar.xz
BUG#: 3327
TITLE: /var/opt/tog-pegasus/cache directory not cleaned after uninstall DESCRIPTION: Added code to preun script to remove cache directory.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.Release b/Makefile.Release
index 8a9d262..7ed89c2 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -895,6 +895,8 @@ _append_preunSectionToSpecFile: FORCE
$(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " [ -d $(PEGASUS_REPOSITORY_DIR) ] && rm -rf $(PEGASUS_REPOSITORY_DIR);" >> \
$(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " [ -d $(PEGASUS_VARDATA_CACHE_DIR) ] && rm -rf $(PEGASUS_VARDATA_CACHE_DIR);" >> \
+ $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " rm -f $(PEGASUS_LOCAL_DOMAIN_SOCKET_PATH);" >> \
$(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)