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

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.20.2.12 and 1.20.2.13

version 1.20.2.12, 2005/02/26 00:01:32 version 1.20.2.13, 2005/03/04 20:17:24
Line 163 
Line 163 
 %define PEGASUS_MANADMIN_DIR   %PEGASUS_MAN_DIR/man8 %define PEGASUS_MANADMIN_DIR   %PEGASUS_MAN_DIR/man8
 %define PEGASUS_VARDATA_DIR    /var/opt/tog-pegasus %define PEGASUS_VARDATA_DIR    /var/opt/tog-pegasus
 %define PEGASUS_REPOSITORY_DIR      %PEGASUS_VARDATA_DIR/repository %define PEGASUS_REPOSITORY_DIR      %PEGASUS_VARDATA_DIR/repository
   %define PEGASUS_PREV_REPOSITORY_DIR %PEGASUS_VARDATA_DIR/prev_repository
 %define PEGASUS_VARDATA_CACHE_DIR   %PEGASUS_VARDATA_DIR/cache %define PEGASUS_VARDATA_CACHE_DIR   %PEGASUS_VARDATA_DIR/cache
 %define PEGASUS_LOCAL_AUTH_DIR      %PEGASUS_VARDATA_CACHE_DIR/localauth %define PEGASUS_LOCAL_AUTH_DIR      %PEGASUS_VARDATA_CACHE_DIR/localauth
 %define PEGASUS_MOF_DIR            %PEGASUS_PROD_DIR/mof %define PEGASUS_MOF_DIR            %PEGASUS_PROD_DIR/mof
Line 626 
Line 627 
   #   #
   # Save the current repository to prev_repository.   # Save the current repository to prev_repository.
   #   #
     if [[ -d %PEGASUS_REPOSITORY_DIR ]]
   REPOSITORY_LOC=%PEGASUS_REPOSITORY_DIR  
   PREV_REPOSITORY_LOC=%PEGASUS_REPOSITORY_DIR"/prev_repository"  
   
   if [[ -d $REPOSITORY_LOC ]]  
   then   then
       if [[ -d $PREV_REPOSITORY_LOC ]]        if [[ -d %PEGASUS_PREV_REPOSITORY_DIR ]]
       then       then
           rm -rf $PREV_REPOSITORY_LOC            rm -rf %PEGASUS_PREV_REPOSITORY_DIR
       fi       fi
  
       mv $REPOSITORY_LOC $PREV_REPOSITORY_LOC        mv %PEGASUS_REPOSITORY_DIR %PEGASUS_PREV_REPOSITORY_DIR
       mkdir $REPOSITORY_LOC        mkdir %PEGASUS_REPOSITORY_DIR
   fi   fi
 fi fi
  


Legend:
Removed from v.1.20.2.12  
changed lines
  Added in v.1.20.2.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2