X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=INSTALL.sh;h=81be3e527bb05dad7b8f92962626a9425074cffc;hb=refs%2Fheads%2Fnginx;hp=1966c413e280edeefa4b840bb8906875855149a0;hpb=c0cc54c9494acf8f43b92a0517d32d38b5006aa0;p=brisk.git diff --git a/INSTALL.sh b/INSTALL.sh index 1966c41..81be3e5 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -185,7 +185,7 @@ while [ $# -gt 0 ]; do -l*) legal_path="$(get_param "-l" "$1" "$2")"; sh=$?;; -U*) usock_path="$(get_param "-U" "$1" "$2")"; sh=$?;; -u*) sys_user="$(get_param "-u" "$1" "$2")"; sh=$?;; - system) action=system;; + system) action=system ; sh=1;; -W) web_only="TRUE";; -x) test_add="TRUE";; -h) usage $0; exit 0;; @@ -431,7 +431,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 }')" -sed -i "s@^\(\$DOCUMENT_ROOT *= *[\"']\)[^\"']*\([\"']\)@\1$document_root\2@g" ${web_path}__/spush/*.ph* +sed -i "s@^\(\$DOCUMENT_ROOT *= *[\"']\)[^\"']*\([\"']\)@\1$document_root\2@g" ${web_path}__/spush/*.ph* ${web_path}__/donometer.php if [ -d ../brisk-img ]; then cd ../brisk-img