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 |
|
|
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 |
|
|