version 1.10, 2006/02/24 22:30:26
|
version 1.11, 2007/10/01 20:15:24
|
|
|
# | # |
export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB | 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 [ $1 -eq 1 ]; then |
%if %{AUTOSTART} | %if %{AUTOSTART} |
/sbin/chkconfig --add tog-pegasus | /sbin/chkconfig --add tog-pegasus |