[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4041] branches/1.3/install.sh
- Subject: SF.net SVN: ledger-smb:[4041] branches/1.3/install.sh
- From: ..hidden..
- Date: Thu, 24 Nov 2011 08:46:33 +0000
Revision: 4041
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4041&view=rev
Author: tshvr
Date: 2011-11-24 08:46:32 +0000 (Thu, 24 Nov 2011)
Log Message:
-----------
eventual apache alias
Modified Paths:
--------------
branches/1.3/install.sh
Modified: branches/1.3/install.sh
===================================================================
--- branches/1.3/install.sh 2011-11-23 23:26:09 UTC (rev 4040)
+++ branches/1.3/install.sh 2011-11-24 08:46:32 UTC (rev 4041)
@@ -1,7 +1,17 @@
#!/bin/sh
+#./install.sh myLsmb13_test
+
CWD=`pwd`
+APACHE_ALIAS='ledgersmb'
+if [ $# -eq 1 ]
+then
+ APACHE_ALIAS=$1
+ echo "setting apache alias to $APACHE_ALIAS"
+fi
+
+
echo "Installing Perl Modules"
cpan Module::Install
@@ -12,7 +22,8 @@
echo "Configuring Apache"
-sed "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf.template > ledgersmb-httpd.conf
+#sed "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf.template > ledgersmb-httpd.conf
+sed "s|/ledgersmb|/$APACHE_ALIAS|g;s|WORKING_DIR|$CWD|g" ledgersmb-httpd.conf.template > ledgersmb-httpd.conf
echo "Which user does your web server run as?"
read username
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.