root/other-projects/meddle/trunk/INSTALL.sh @ 31612

Revision 31612, 0.9 KB (checked in by davidb, 3 years ago)

Icon, accent folder added

  • Property svn:executable set to *
Line 
1
2if [ "x$MEDDLE_HOME" = "x" ] ; then
3  . ./SETUP.bash
4fi
5
6if [ ! -d "$MEDDLE_WEBDIR" ] ; then
7  echo "Creating cgi-bin directory: $MEDDLE_WEBDIR"
8  sudo mkdir "$MEDDLE_WEBDIR"
9  sudo chown $USER "$MEDDLE_WEBDIR"
10fi
11
12if [ ! -d "$MEDDLE_CGIDIR" ] ; then
13  echo "Creating cgi-bin directory: $MEDDLE_CGIDIR"
14  sudo mkdir "$MEDDLE_CGIDIR"
15  sudo chown $USER "$MEDDLE_CGIDIR"
16fi
17
18if [ ! -d "$MEDDLE_CGIDIR/sqlite" ] ; then
19  echo "Creating sqlite directory: $MEDDLE_CGIDIR/sqlite"
20  sudo mkdir "$MEDDLE_CGIDIR/sqlite"
21  sudo chown $USER "$MEDDLE_WEBDIR/sqlite"
22  sudo chmod a+rwx "$MEDDLE_WEBDIR/sqlite"
23  echo "*** Make sure the database in this directory is writable by the cgi-script"
24fi
25
26echo "Installing/Updating $MEDDLE_WEBDIR"
27/bin/cp index.* "$MEDDLE_WEBDIR/."
28/bin/cp meddle-fixup.js "$MEDDLE_WEBDIR/."
29/bin/cp meddle-icon-*.png "$MEDDLE_WEBDIR/."
30
31echo "Installing/Updating $MEDDLE_CGIDIR"
32/bin/cp nph-proxy-meddle.cgi "$MEDDLE_CGIDIR/."
33
34 
Note: See TracBrowser for help on using the browser.