/[docman2]/migrate.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /migrate.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dpavlin, Wed Jun 11 14:07:23 2003 UTC revision 1.4 by dpavlin, Wed Jun 11 14:09:18 2003 UTC
# Line 23  if [ ! -e "$docman2_realm" -o ! -e "$doc Line 23  if [ ! -e "$docman2_realm" -o ! -e "$doc
23  fi  fi
24    
25  #  #
26    # try to find .htusers and .docman.conf which should always exists in
27    # valid existing repository
28    #
29    
30    if [ ! -e "$dir/.htusers" ] ; then
31            echo "FATAL: can't find $dir/.htusers file... aborting automatic migration"
32            echo "(is this really docman 1.x site directory?)"
33            exit 1
34    fi
35    
36    if [ ! -e "$dir/.docman.conf" ] ; then
37            echo "FATAL: can't find $dir/.docman.conf file... aborting automatic migration"
38            echo "(is this really docman 1.x site directory?)"
39            exit 1
40    fi
41    
42    #
43  # try to guess existing DirectoryIndex (docman.php)  # try to guess existing DirectoryIndex (docman.php)
44  #  #
45    
# Line 43  else Line 60  else
60  fi  fi
61    
62  #  #
 # try to find .htusers and .docman.conf which should always exists in  
 # valid existing repository  
 #  
   
 if [ ! -e "$dir/.htusers" ] ; then  
         echo "FATAL: can't find $dir/.htusers file... aborting automatic migration"  
         exit 1  
 fi  
   
 if [ ! -e "$dir/.docman.conf" ] ; then  
         echo "FATAL: can't find $dir/.docman.conf file... aborting automatic migration"  
         exit 1  
 fi  
   
 #  
63  # get some version numbers  # get some version numbers
64  #  #
65    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26