summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorw.otsuka <w.otsuka>2005-11-07 22:41:34 +0000
committerw.otsuka <w.otsuka>2005-11-07 22:41:34 +0000
commit86901a59ebe4845b817fa0df9248ab393b97f302 (patch)
treec8495f58f36a6f943302e23ddbfc776a1d294ec9 /Makefile.Release
parent8c0dc5cc628459974fa0fa30159732632029ee97 (diff)
downloadtog-pegasus-86901a59ebe4845b817fa0df9248ab393b97f302.zip
tog-pegasus-86901a59ebe4845b817fa0df9248ab393b97f302.tar.gz
tog-pegasus-86901a59ebe4845b817fa0df9248ab393b97f302.tar.xz
BUG#: 4335
TITLE:repupgrade needs ifdefs for release dirs and Linux DESCRIPTION: Modified repupgrade to use PEGASUS_RELEASE_DIRS for linux.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.Release b/Makefile.Release
index d45a8cf..ee546e4 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -920,6 +920,11 @@ _append_postSectionToSpecFile: FORCE
@$(ECHO-E) "# End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "elif [ \044\061 -gt 1 ]; then" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " then" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " # Running Repository Upgrade utility" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " %PEGASUS_SBIN_DIR/repupgrade 2>>%PEGASUS_INSTALL_LOG" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) " fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "/sbin/service tog-pegasus condrestart" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) ":;" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "fi" >> $(PEGASUS_RPM_SPEC_FILE_PATH)