summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorw.otsuka <w.otsuka>2005-05-03 05:31:56 +0000
committerw.otsuka <w.otsuka>2005-05-03 05:31:56 +0000
commitd01def599888c94d3232ccc44e0cdbbbfefe0717 (patch)
tree00906cd9dac0cd2d4fd41b3d025213564ea1b516 /Makefile.Release
parentc517344d6d82149091d960dd43381e8495a7e310 (diff)
downloadtog-pegasus-d01def599888c94d3232ccc44e0cdbbbfefe0717.zip
tog-pegasus-d01def599888c94d3232ccc44e0cdbbbfefe0717.tar.gz
tog-pegasus-d01def599888c94d3232ccc44e0cdbbbfefe0717.tar.xz
BUG#:3466
TITLE: tog-pegasus rpm uninstall leaves files in /var/opt/tog-pegasus DESCRIPTION: Fixed if block in %preun.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.Release b/Makefile.Release
index 60340ff..5179ebd 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -889,6 +889,7 @@ _append_preunSectionToSpecFile: FORCE
>> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " if [ \"\044isRunning\" ]; then" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " $(PEGASUS_SBIN_DIR)/cimserver -s" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " [ -f $(PEGASUS_VARDATA_DIR)/$(PEGASUS_CURRENT_CONFIG_FILE) ] && \
rm $(PEGASUS_VARDATA_DIR)/$(PEGASUS_CURRENT_CONFIG_FILE);" >> \
$(PEGASUS_RPM_SPEC_FILE_PATH)
@@ -902,7 +903,6 @@ _append_preunSectionToSpecFile: FORCE
$(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " rm -f $(PEGASUS_CIMSERVER_START_FILE)" >> \
$(PEGASUS_RPM_SPEC_FILE_PATH)
- @$(ECHO-E) " fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " # Delete the Link to the rc.* Startup Directories" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) " /usr/lib/lsb/remove_initd /etc/init.d/tog-pegasus;" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)