]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-instaweb.sh
git-instaweb: unconditionally assume that gitweb is mod_perl capable
[thirdparty/git.git] / git-instaweb.sh
index 7c55229773e2bdb0f138b1180ab22d05c74ff904..54094fbe8de5c530b62cc0a907543a5186b11e9f 100755 (executable)
@@ -380,10 +380,7 @@ TypesConfig "$fqgitdir/mime.types"
 DirectoryIndex gitweb.cgi
 EOF
 
-       # check to see if Dennis Stosberg's mod_perl compatibility patch
-       # (<20060621130708.Gcbc6e5c@leonov.stosberg.net>) has been applied
-       if test -f "$module_path/mod_perl.so" &&
-          sane_grep 'MOD_PERL' "$root/gitweb.cgi" >/dev/null
+       if test -f "$module_path/mod_perl.so"
        then
                # favor mod_perl if available
                cat >> "$conf" <<EOF