[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5158] branches/1.3
- Subject: SF.net SVN: ledger-smb:[5158] branches/1.3
- From: ..hidden..
- Date: Mon, 15 Oct 2012 07:37:39 +0000
Revision: 5158
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5158&view=rev
Author: einhverfr
Date: 2012-10-15 07:37:38 +0000 (Mon, 15 Oct 2012)
Log Message:
-----------
Committing Berend Tober's patch for prompts in configure_apache.sh
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/configure_apache.sh
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2012-10-15 06:59:57 UTC (rev 5157)
+++ branches/1.3/Changelog 2012-10-15 07:37:38 UTC (rev 5158)
@@ -5,7 +5,9 @@
Changelog for 1.3.24
* Fixed error in msgid for "Add Language" (Havard S, h/t Robert C)
* Moved Makefile.PL to version_from to reduce errors (Chris T, h/t Robert C)
+* Prompts added to configure_apache.sh (Berend T)
+berend T is Berend Tober
Chris T is Chris Travers
Havard S is Havard Sorli
Robert C is Robert James Clay
Modified: branches/1.3/configure_apache.sh
===================================================================
--- branches/1.3/configure_apache.sh 2012-10-15 06:59:57 UTC (rev 5157)
+++ branches/1.3/configure_apache.sh 2012-10-15 07:37:38 UTC (rev 5158)
@@ -4,13 +4,14 @@
sed -i.orig "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf;
-echo "Which user does your web server run as?"
-read username
+username="apache"
+read -p "Which user does your web server run as? [$username]"
-chown $username spool templates css
+chown ${REPLY:-$username} spool templates css
-echo "Where do we copy the ledgersmb-httpd.conf file to?"
-read location
-cp ledgersmb-httpd.conf $location
+location="/etc/httpd/conf.d"
+read -p "Where do we copy the ledgersmb-httpd.conf file to? [$location] "
+cp ledgersmb-httpd.conf ${REPLY:-$location}
+
echo "Please restart your web server for the changes to take effect."
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.