summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorBjörn Geiger2011-09-29 14:23:49 +0200
committerBjörn Geiger2011-09-29 14:23:49 +0200
commit2a71571b4eb8ef185d76bafea19bf34800069fb7 (patch)
tree9dfa3a68c4b68308f7786ee2faed00809ff47b25 /install.sh
parentMerge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl (diff)
downloadpoolctrl-2a71571b4eb8ef185d76bafea19bf34800069fb7.tar.gz
poolctrl-2a71571b4eb8ef185d76bafea19bf34800069fb7.tar.xz
poolctrl-2a71571b4eb8ef185d76bafea19bf34800069fb7.zip
beim event move und resize werden nun auch die filter angepasst
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index c9b1d07..c33987c 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 "36s/\$/$vhost_name/" -i $targetDir/application/configs/application.ini
+sed -e "37s/\$/$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 "39s/\$/$gearman_server_host/" -i $targetDir/application/configs/application.ini
+sed -e "40s/\$/$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 "40s/\$/$gearman_server_port/" -i $targetDir/application/configs/application.ini
+sed -e "41s/\$/$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