Source

iredmail / iRedMail / functions / awstats.sh

Diff from to

iRedMail/functions/awstats.sh

 
     # Move awstats.pl to ${AWSTATS_CGI_DIR} on Debian/Ubuntu, so that it won't
     # conflict with other cgi programs, e.g. mailman.
-    if [ X"${DISTRO}" == X"DEBIAN" -o X"${DISTRO}" == X"UBUNTU" -o X"${DISTRO}" == X"SUSE" ]; then
-        mkdir -p ${AWSTATS_CGI_DIR}/awstats/ 2>/dev/null
-        mv ${AWSTATS_CGI_DIR}/awstats.pl ${AWSTATS_CGI_DIR}/awstats/ 2>/dev/null
-        export AWSTATS_CGI_DIR="${AWSTATS_CGI_DIR}/awstats"
-    fi
+    #if [ X"${DISTRO}" == X"DEBIAN" -o X"${DISTRO}" == X"UBUNTU" -o X"${DISTRO}" == X"SUSE" ]; then
+    #    mkdir -p ${AWSTATS_CGI_DIR}/awstats/ 2>/dev/null
+    #    mv ${AWSTATS_CGI_DIR}/awstats.pl ${AWSTATS_CGI_DIR}/awstats/ 2>/dev/null
+    #    export AWSTATS_CGI_DIR="${AWSTATS_CGI_DIR}/awstats"
+    #fi
 
     cat > ${AWSTATS_HTTPD_CONF} <<EOF
 ${CONF_MSG}