Return to tog-pegasus-pre.spec CVS log | Up to [Pegasus] / pegasus / rpm / tog-specfiles |
File: [Pegasus] / pegasus / rpm / tog-specfiles / tog-pegasus-pre.spec
(download)
Revision: 1.2, Mon Nov 7 18:27:44 2005 UTC (18 years, 7 months ago) by w.otsuka Branch: MAIN Changes since 1.1: +1 -1 lines BUG#: 4340 TITLE:tog-pegasus post script removes existing prev_repository DESCRIPTION: Modified the pre script to save the existing prev_repository under a unique name. |
if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ] then # # Save the current repository to prev_repository # if [[ -d %PEGASUS_REPOSITORY_DIR ]] then if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]] then mv %PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR`date '+%Y-%m-%d-%s.%N'`.rpmsave; fi mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR mkdir %PEGASUS_REPOSITORY_DIR fi fi
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |