File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ pkg_add_from_url()
168168 url=$1
169169 pkg_cachesubdir=$2
170170 abi=${3+env ABI=$3 } # Set $abi to "env ABI=$3" only if a third argument is provided
171+ echo " pkg_add_from_url: ${url} "
171172
172173 pkgfile=${url##*/ }
173174 if [ ! -e ${uzip}${pkg_cachedir} /${pkg_cachesubdir} /${pkgfile} ]; then
@@ -212,11 +213,8 @@ packages()
212213 # Install packages beginning with 'https:'
213214 mkdir -p ${uzip}${pkg_cachedir} /furybsd-https
214215 for url in $( grep -e ' ^https' " ${cwd} /settings/packages.$p " ) ; do
215- # First, try installing this using the real major version
216- pkg_add_from_url " $url " furybsd-https " freebsd:$MAJOR :$arch " || true
217- # Second, try installing this using
218- # ABI=freebsd:12:$arch in an attempt to use package built on 12 for 13
219- pkg_add_from_url " $url " furybsd-https " freebsd:12:$arch " || true
216+ # First, try installing this using the real major version, then try to install package built for major version 12
217+ pkg_add_from_url " $url " furybsd-https || pkg_add_from_url " $url " furybsd-https " freebsd:12:$arch "
220218 done
221219 done
222220 # Install the packages we have generated in pkg() that are listed in transient-packages-list
You can’t perform that action at this time.
0 commit comments