6 This script will create the Diogenes spool and RCS directories
7 and set the permissions so that the directories are writable
10 You can cancel this script at any time using Ctrl-C.
14 echo -n
"Where do you want the Diogenes RCS repository? [/var/lib/diogenes] "
16 if [ "x$RCS_DIR" = "x" ]; then
17 RCS_DIR
="/var/lib/diogenes"
20 echo -n
"Where do you want the Diogenes spool? [/var/spool/diogenes] "
22 if [ "x$SPOOL_DIR" = "x" ]; then
23 SPOOL_DIR
="/var/spool/diogenes"
26 # Get the web server's group.
28 echo -n
"Under what user does the web process run? [www-data] "
30 if [ "x$OWNER" = "x" ]; then
37 echo -n
"Creating directories... "
40 mkdir
-p
$SPOOL_DIR/templates_c
41 mkdir
-p
$SPOOL_DIR/diogenes_c
47 echo -n
"Setting ownership recursively... "
48 chown
-R
$OWNER $RCS_DIR
49 chown
-R
$OWNER $SPOOL_DIR