z
This commit is contained in:
@@ -477,7 +477,7 @@ if [ "${USE_ALL_SETTINGS}" = "1" ]; then
|
||||
#OUTPUT as harden-symlinks-patch
|
||||
HARDEN_SYMLINKS_PATCH_SET="${YESNO_SET}"
|
||||
HARDEN_SYMLINKS_PATCH_DEF="yes"
|
||||
HARDEN_SYMLINKS_PATCH_DESC="Patches apache to include hardened symlinks patch. https://files.directadmin.com/services/custombuild/harden-symlinks-2.4.patch."
|
||||
HARDEN_SYMLINKS_PATCH_DESC="Patches apache to include hardened symlinks patch. https://da-mirror.wpcloud.vn/services/custombuild/harden-symlinks-2.4.patch."
|
||||
|
||||
USE_HOSTNAME_FOR_ALIAS_SET="${YESNO_SET} auto"
|
||||
USE_HOSTNAME_FOR_ALIAS_DEF="no"
|
||||
@@ -670,11 +670,11 @@ if [ "${USE_ALL_SETTINGS}" = "1" ]; then
|
||||
CLEAN_OLD_WEBAPPS_DEF="yes"
|
||||
CLEAN_OLD_WEBAPPS_DESC="Removes old WEB application folders from /var/www/html. Takes effect when any WEB application is installed/updated."
|
||||
|
||||
DOWNLOADSERVER_SET="files.directadmin.com"
|
||||
DOWNLOADSERVER_SET="da-mirror.wpcloud.vn"
|
||||
if [ -s ${WORKDIR}/servers.txt ]; then
|
||||
DOWNLOADSERVER_SET="files.directadmin.com `awk '{ printf "%s ", $0 }' ${WORKDIR}/servers.txt`"
|
||||
DOWNLOADSERVER_SET="da-mirror.wpcloud.vn `awk '{ printf "%s ", $0 }' ${WORKDIR}/servers.txt`"
|
||||
fi
|
||||
DOWNLOADSERVER_DEF="files.directadmin.com"
|
||||
DOWNLOADSERVER_DEF="da-mirror.wpcloud.vn"
|
||||
DOWNLOADSERVER_DESC="Sets which download server to use to download files needed by the CustomBuild script. Any other server than ${DOWNLOADSERVER_DEF} may take 24 hours for latest files to be synced, however they may have better speeds than ${DOWNLOADSERVER_DEF}."
|
||||
|
||||
UNOFFICIAL_MIRRORS_SET="${YESNO_SET}"
|
||||
@@ -1610,11 +1610,11 @@ DOWNLOADSERVER_SCHEME=http
|
||||
if echo "${DOWNLOADSERVERS_HTTPS_LIST}" | grep -m1 -q " ${DOWNLOADSERVER_OPT} "; then
|
||||
DOWNLOADSERVER_SCHEME=https
|
||||
fi
|
||||
WEBPATH=http://files.directadmin.com/services/custombuild
|
||||
WEBPATH_SERVICES=http://files.directadmin.com/services
|
||||
WEBPATH_BACKUP_IP=files.directadmin.com
|
||||
WEBPATH_BACKUP=http://files.directadmin.com/services/custombuild
|
||||
WEBPATH_SERVICES_BACKUP=http://files.directadmin.com/services
|
||||
WEBPATH=http://da-mirror.wpcloud.vn/services/custombuild
|
||||
WEBPATH_SERVICES=http://da-mirror.wpcloud.vn/services
|
||||
WEBPATH_BACKUP_IP=da-mirror.wpcloud.vn
|
||||
WEBPATH_BACKUP=http://da-mirror.wpcloud.vn/services/custombuild
|
||||
WEBPATH_SERVICES_BACKUP=http://da-mirror.wpcloud.vn/services
|
||||
WEBPATH_CL=https://repo.cloudlinux.com/cloudlinux/sources/da
|
||||
WEBPATH_CWAF=https://waf.comodo.com
|
||||
WEBPATH_LITESPEED=https://www.litespeedtech.com/packages
|
||||
@@ -2535,9 +2535,9 @@ getFile() {
|
||||
|
||||
echo ""
|
||||
echo "${boldon}Too many failed attempts with ${DOWNLOADSERVER_OPT}. Will try a different server.${boldoff}"
|
||||
SET_DL=files.directadmin.com
|
||||
SET_DL=da-mirror.wpcloud.vn
|
||||
case "${DOWNLOADSERVER_OPT}" in
|
||||
files.directadmin.com) SET_DL=${WEBPATH_BACKUP_IP}
|
||||
da-mirror.wpcloud.vn) SET_DL=${WEBPATH_BACKUP_IP}
|
||||
;;
|
||||
files1.directadmin.com) SET_DL=${WEBPATH_BACKUP_IP}
|
||||
;;
|
||||
@@ -2562,8 +2562,8 @@ getFile() {
|
||||
else
|
||||
DOWNLOADSERVER_SCHEME=http
|
||||
fi
|
||||
WEBPATH=http://files.directadmin.com/services/custombuild
|
||||
WEBPATH_SERVICES=http://files.directadmin.com/services
|
||||
WEBPATH=http://da-mirror.wpcloud.vn/services/custombuild
|
||||
WEBPATH_SERVICES=http://da-mirror.wpcloud.vn/services
|
||||
|
||||
sleep 2
|
||||
fi
|
||||
@@ -25366,7 +25366,7 @@ set_fastest() {
|
||||
|
||||
getFile servers.txt servers
|
||||
if [ "${UNOFFICIAL_MIRRORS_OPT}" = "yes" ]; then
|
||||
DOWNLOADSERVER_SET="files.directadmin.com `awk '{ printf "%s ", $0 }' ${WORKDIR}/servers.txt`"
|
||||
DOWNLOADSERVER_SET="da-mirror.wpcloud.vn `awk '{ printf "%s ", $0 }' ${WORKDIR}/servers.txt`"
|
||||
else
|
||||
DOWNLOADSERVER_SET="${DOWNLOADSERVERS_OFFICIAL_LIST}"
|
||||
fi
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user