1 denise.eckstein 1.1 if [ -d %PEGASUS_REPOSITORY_DIR"/root#PG_Internal" ]
2 then
3 #
4 # Save the current repository to prev_repository
5 #
6 if [[ -d %PEGASUS_REPOSITORY_DIR ]]
7 then
8 if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]]
9 then
10 rm -rf %PEGASUS_PREV_REPOSITORY_DIR
11 fi
12 mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR
13 mkdir %PEGASUS_REPOSITORY_DIR
14 fi
15 fi
|