X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-instaweb.sh;h=80adc8307b4310440b5de7df82c5200cc2c45cbb;hb=e861ce1692fa9809f3e7b898804f8ddaf7cd8975;hp=16cd351f7f0d992be37be83017961c70731d4cc5;hpb=647377c4c91064fc5001acddd5357467c0da6ef9;p=git.git diff --git a/git-instaweb.sh b/git-instaweb.sh index 16cd351f7..80adc8307 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -53,6 +53,9 @@ start_httpd () { return fi done + echo "$httpd_only not found. Install $httpd_only or use" \ + "--httpd to specify another http daemon." + exit 1 fi if test $? != 0; then echo "Could not execute http daemon $httpd." @@ -160,10 +163,20 @@ apache2_conf () { test "$local" = true && bind='127.0.0.1:' echo 'text/css css' > $fqgitdir/mime.types cat > "$conf" <> "$conf" + fi + done + cat >> "$conf" <