File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ for table_name in $(toml_get_table_names); do
132132
133133 app_args[include_stock]=$( toml_get " $t " include-stock) || app_args[include_stock]=true && vtf " ${app_args[include_stock]} " " include-stock"
134134 app_args[dpi]=$( toml_get " $t " dpi) || app_args[dpi]=" $DEF_DPI_LIST "
135- read -r -a DPI_CANDIDATES <<< " ${app_args[dpi]}"
136135 table_name_f=${table_name,,}
137136 table_name_f=${table_name_f// / -}
138137 app_args[module_prop_name]=$( toml_get " $t " module-prop-name) || app_args[module_prop_name]=" ${table_name_f} -peternmuller"
Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ dl_apkmirror() {
326326 resp=$( req " $url " -) || return 1
327327 node=$( $HTMLQ " div.table-row.headerFont:nth-last-child(1)" -r " span:nth-child(n+3)" <<< " $resp" )
328328 if [ " $node " ]; then
329- for current_dpi in " ${ dpi[@]} " ; do
329+ for current_dpi in $ dpi; do
330330 for type in APK BUNDLE; do
331331 if dlurl=$( apk_mirror_search " $resp " " $current_dpi " " ${arch} " " $type " ) ; then
332332 [[ " $type " == " BUNDLE" ]] && is_bundle=true || is_bundle=false
@@ -539,8 +539,8 @@ build_rv() {
539539 if [ -z " ${args[${dl_p}_dlurl]} " ]; then continue ; fi
540540 pr " Downloading '${table} ' from ${dl_p} "
541541 if ! isoneof $dl_p " ${tried_dl[@]} " ; then get_${dl_p} _resp " ${args[${dl_p}_dlurl]} " ; fi
542- if ! dl_${dl_p} " ${args[${dl_p}_dlurl]} " " $version " " $stock_apk " " $arch " " $DPI_CANDIDATES " " $get_latest_ver " ; then
543- epr " ERROR: Could not download '${table} ' from ${dl_p} with version '${version} ', arch '${arch} ', dpi '${DPI_CANDIDATES[* ]} '"
542+ if ! dl_${dl_p} " ${args[${dl_p}_dlurl]} " " $version " " $stock_apk " " $arch " " ${args[dpi]} " " $get_latest_ver " ; then
543+ epr " ERROR: Could not download '${table} ' from ${dl_p} with version '${version} ', arch '${arch} ', dpi '${args[dpi ]} '"
544544 continue
545545 fi
546546 break
You can’t perform that action at this time.
0 commit comments