From dee1850337e10fe298e199140906f59e75bca09e Mon Sep 17 00:00:00 2001
From: shenmo <jifengshenmo@outlook.com>
Date: Sat, 24 Aug 2024 00:56:21 +0800
Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20to?=
 =?UTF-8?q?ol/apt-fast/ss-apt-fast?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tool/apt-fast/ss-apt-fast | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tool/apt-fast/ss-apt-fast b/tool/apt-fast/ss-apt-fast
index d1e49b3..827ea8e 100755
--- a/tool/apt-fast/ss-apt-fast
+++ b/tool/apt-fast/ss-apt-fast
@@ -289,6 +289,7 @@ urldecode()
 }
 
 # Check if mirrors are available. And if so add all mirrors to download list.
+############ SPARK ADJUST: Now we ignore the first config for business request
 get_mirrors(){
   # Check all mirror lists.
   for mirrorstr in "${MIRRORS[@]}"; do
@@ -301,7 +302,7 @@ get_mirrors(){
       if [[ "$1" == "$mirror"* ]]; then
         filepath=${1#${mirror}}
         # Build list for aria download list.
-        list="${mirrors[*]}"
+        list="${mirrors[*]:1}"
         echo -e "${list// /${filepath}\\t}$filepath\n"
         return 0
       fi
@@ -310,7 +311,7 @@ get_mirrors(){
   # No other mirrors found.
   echo "$1"
 }
-
+##########SPARK ADJUST: END
 # Globals to save package name, version, size and overall size.
 DOWNLOAD_DISPLAY=
 DOWNLOAD_SIZE=0