LIBDIR="$PREFIX/lib/";
PERLDIR="$LIBDIR/perl5/";
INCLUDEDIR="$PREFIX/include/";
- WEBDIR="$PREFIX/web";
- CGIDIR="$PREFIX/cgi-bin";
- ETCDIR="$PREFIX/etc";
- TEMPLATEDIR="$PREFIX/templates";
- CIRCRULESDIR="$PREFIX/circ";
+ ETCDIR="$PREFIX/conf";
+ WEBDIR="$PREFIX/var/web";
+ CGIDIR="$PREFIX/var/cgi-bin";
+ TEMPLATEDIR="$PREFIX/var/templates";
+ CIRCRULESDIR="$PREFIX/var/circ";
+ XSLDIR="$PREFIX/var/xsl";
prompt "Executables directory [$BINDIR] "
read X; if [ ! -z "$X" ]; then BINDIR="$X"; fi;
prompt "Templates directory [$TEMPLATEDIR] "
read X; if [ ! -z "$X" ]; then TEMPLATEDIR="$X"; fi;
+ prompt "XSL Stylesheets directory [$XSLDIR] "
+ read X; if [ ! -z "$X" ]; then XSLDIR="$X"; fi;
+
prompt "Custom circulation rules directory [$CIRCRULESDIR] "
read X; if [ ! -z "$X" ]; then CIRCRULESDIR="$X"; fi;
_write "TEMPLATEDIR=\"$TEMPLATEDIR\"";
_write "ETCDIR=\"$ETCDIR\"";
_write "CIRCRULESDIR=\"$CIRCRULESDIR\"";
+ _write "XSLDIR=\"$XSLDIR\"";
# print out the targets
STR="TARGETS=(";
_write "DBPW=\"$DBPW\"";
-
# Now we'll write out the DB bootstrapping config
CONFIG_FILE='Open-ILS/src/cgi-bin/setup.pl';
rm -f "$CONFIG_FILE";
# libraries will be installed into PERFIX/lib, etc. The user
# running 'install.sh install' must have write permissions to PREFIX
# --------------------------------------------------------------------
-PREFIX="/pines/";
+PREFIX="/openils/";
BINDIR="$PREFIX/bin/";
LIBDIR="$PREFIX/lib/";
PERLDIR="$LIBDIR/perl5/";