summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-06 07:32:45 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-06 07:32:45 +0000
commit5acd990d337961e9af64254e23cf8a0210773cff (patch)
treeae44926da79b91b71b673ddbd438f1bf35be63d1 /install.sh
parent415fc56b5fffa8d16d094540b815ce490d52dc47 (diff)
Changing to install script rather than default location.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@799 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 00000000..085e0310
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+CWD=`pwd`
+
+sed -i "s|WORKING_DIR|$CWD|"
+
+echo "Which user does your web server run as?"
+read username
+
+chmod $username spool templates css
+
+echo "Where do we copy the ledger-smb-httpd.conf file to?"
+read location
+cp ledger-smb-httpd.conf $location
+
+echo "Please restart your web server for the changes to take effect."