X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=b021de51cdb43a62d41165f13066fe7d11eb05c7;hb=9a17da4020740578e3a744630fd6be96c8237cab;hp=65074c8ed064c949b163f48f906cafa21d6fcba7;hpb=4134ca0a411ba95acb7e5bda7632df30cd91eafc;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 65074c8..b021de5 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -3,7 +3,7 @@ # # Defaults # -CONFIG_FILE="$HOME/.brisk_spu_install" +CONFIG_FILE="$HOME/.brisk_install" apache_conf="/etc/apache2/sites-available/default" players_n=3 @@ -367,7 +367,7 @@ sed -i "s@var \+cookiepath \+= \+\"[^\"]*\";@var cookiepath = \"$prefix_path\";@ sed -i "s@\( \+cookiepath *: *\)\"[^\"]*\" *,@\1 \"$prefix_path\",@g" ${web_path}__/xynt-streaming.js -document_root="$(grep DocumentRoot "${apache_conf}" | grep -v '^#' | awk '{ print $2 }')" +document_root="$(grep DocumentRoot "${apache_conf}" | grep -v '^[ ]*#' | awk '{ print $2 }')" sed -i "s@^\(\$DOCUMENT_ROOT *= *[\"']\)[^\"']*\([\"']\)@\1$document_root\2@g" ${web_path}__/spush/*.ph* if [ -d ${web_path} ]; then