This commit is contained in:
tuend-work
2025-11-13 07:41:56 +07:00
parent 7f357f3a30
commit 4478491d73
1729 changed files with 193578 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ AWSTATS_VER=7.7
DA_SCRIPTS=/usr/local/directadmin/scripts
DA_CONF=/usr/local/directadmin/conf/directadmin.conf
DA_TEMPLATE_CONF=/usr/local/directadmin/data/templates/directadmin.conf
HTTPPATH=http://files.directadmin.com/services/all/awstats
HTTPPATH=http://da-mirror.wpcloud.vn/services/all/awstats
TARFILE=${DA_SCRIPTS}/packages/awstats-${AWSTATS_VER}.tar.gz
USR=/usr/local
REALPATH=${USR}/awstats-${AWSTATS_VER}
@@ -59,7 +59,7 @@ chmod -R 755 ${REALPATH}
#patch the url bug: this is ni the 7.3 tar.gz file, so no need to patch. Creates a patch rej file.
#echo "Patching awstats_buildstaticpages.pl to fix url bug...";
#cd ${REALPATH}/tools
#wget -O awstats_url.patch http://files.directadmin.com/services/custombuild/patches/awstats_url.patch
#wget -O awstats_url.patch http://da-mirror.wpcloud.vn/services/custombuild/patches/awstats_url.patch
#if [ ! -s awstats_url.patch ]; then
# echo "Error with awstats_url.patch. File is missing or empty";
#else