From 2a8868e7687894bee161dd602221abf187cafae4 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 27 Oct 2011 16:09:31 +0200 Subject: Edit weiter korrigiert --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index a0445c8..dd5e482 100755 --- a/install.sh +++ b/install.sh @@ -15,7 +15,7 @@ echo "Copying to /var/www/" sourceDir=$(readlink -f $(dirname $(readlink -f $0))) echo -n "enter vhost name: " read vhost_name -sed -e "38s/\$/$vhost_name/" -i $targetDir/application/configs/application.ini +sed -e "39s/\$/$vhost_name/" -i $targetDir/application/configs/application.ini targetDir="/var/www/$vhost_name" mkdir -p $targetDir cp -R $sourceDir/* $targetDir @@ -72,12 +72,12 @@ sed -e "21s/\$/$pbs2_host/" -i $targetDir/application/configs/application.ini echo -n "Please enter host of gearman server [localhost]: " read gearman_server_host [ "x" = "x$gearman_server_host" ] && gearman_server_host="localhost" -sed -e "41s/\$/$gearman_server_host/" -i $targetDir/application/configs/application.ini +sed -e "42s/\$/$gearman_server_host/" -i $targetDir/application/configs/application.ini echo -n "Please enter port of gearman server [4730]: " read gearman_server_port [ "x" = "x$gearman_server_port" ] && gearman_server_port="4730" -sed -e "42s/\$/$gearman_server_port/" -i $targetDir/application/configs/application.ini +sed -e "43s/\$/$gearman_server_port/" -i $targetDir/application/configs/application.ini echo "Create database and tables" cat $targetDir/setup/poolctrl.sql | sed -e "s,##poolctrl##,$db_name," > /tmp/poolctrl.sql -- cgit v1.2.3-55-g7522