(file) Return to tog-pegasus-post.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm / tog-specfiles

File: [Pegasus] / pegasus / rpm / tog-specfiles / tog-pegasus-post.spec (download)
Revision: 1.6.2.2, Tue Mar 7 18:45:40 2006 UTC (18 years, 3 months ago) by a.dunfey
Branch: PEP233_EmbeddedInstSupport-branch
Changes since 1.6.2.1: +0 -30 lines
PEP#: 233
TITLE: Update embedded instance branch

DESCRIPTION:

Merge embedded instance branch with trunk and add missing files

# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec
#
#           install   remove   upgrade  reinstall
# %post        1        -         2         2
#
   export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB

   if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then
       # Running Repository Upgrade utility
       %PEGASUS_SBIN_DIR/repupgrade %PEGASUS_PREV_REPOSITORY_DIR \
           %PEGASUS_REPOSITORY_DIR 2>>%PEGASUS_INSTALL_LOG
       /bin/tar -C %PEGASUS_REPOSITORY_PARENT_DIR -cf \
           %PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.tar \
           %PEGASUS_PREV_REPOSITORY_DIR_NAME
       rm -rf %PEGASUS_PREV_REPOSITORY_DIR
   fi
   if [ $1 -eq 1 ]; then
%if %{AUTOSTART}
       /sbin/chkconfig --add tog-pegasus
%endif
   :;
   elif [ $1 -gt 0 ]; then
       /etc/init.d/tog-pegasus condrestart
   :;
   fi
#
# End of section pegasus/rpm/tog-specfiles/tog-pegasus-post.spec

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2