version 1.6, 2005/11/18 21:17:39
|
version 1.6.2.2, 2006/03/07 18:45:40
|
|
|
# install remove upgrade reinstall | # install remove upgrade reinstall |
# %post 1 - 2 2 | # %post 1 - 2 2 |
# | # |
|
export PEGASUS_ARCH_LIB=%PEGASUS_ARCH_LIB |
|
|
if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then | if [ -d %PEGASUS_PREV_REPOSITORY_DIR ]; then |
# Running Repository Upgrade utility | # Running Repository Upgrade utility |
%PEGASUS_SBIN_DIR/repupgrade %PEGASUS_PREV_REPOSITORY_DIR \ | %PEGASUS_SBIN_DIR/repupgrade %PEGASUS_PREV_REPOSITORY_DIR \ |
|
|
%endif | %endif |
:; | :; |
elif [ $1 -gt 0 ]; then | elif [ $1 -gt 0 ]; then |
/sbin/service tog-pegasus condrestart |
/etc/init.d/tog-pegasus condrestart |
:; | :; |
fi | fi |
# | # |