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

Diff for /pegasus/rpm/tog-specfiles/tog-pegasus-post.spec between version 1.7 and 1.11

version 1.7, 2006/01/13 20:50:24 version 1.11, 2007/10/01 20:15:24
Line 3 
Line 3 
 #           install   remove   upgrade  reinstall #           install   remove   upgrade  reinstall
 # %post        1        -         2         2 # %post        1        -         2         2
 # #
    if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then     export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB
        # 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 [ $1 -eq 1 ]; then
 %if %{AUTOSTART} %if %{AUTOSTART}
        /sbin/chkconfig --add tog-pegasus        /sbin/chkconfig --add tog-pegasus


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2