diff options
author | Li-Wen Hsu <lwhsu@lwhsu.org> | 2022-02-05 03:25:46 +0300 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@lwhsu.org> | 2022-02-05 03:25:46 +0300 |
commit | f39126e4ba4550d004faf03f404e49791a03349d (patch) | |
tree | 802f88610ff1c80224f09854951e8d519f1691c1 /src | |
parent | 42d74766e179794caf9f4d9ccf39de98348c5bca (diff) |
download.freebsd.org has no /ftp/ in the path anymore
Diffstat (limited to 'src')
-rwxr-xr-x | src/share/poudriere/jail.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/poudriere/jail.sh b/src/share/poudriere/jail.sh index 3374bb86..ab464730 100755 --- a/src/share/poudriere/jail.sh +++ b/src/share/poudriere/jail.sh @@ -709,7 +709,7 @@ install_from_ftp() { case $(echo "${FREEBSD_HOST}" | \ tr '[:upper:]' '[:lower:]') in *download.freebsd.org) - URL="${FREEBSD_HOST}/ftp/${type}/${ARCH}/${V}" + URL="${FREEBSD_HOST}/${type}/${ARCH}/${V}" ;; *) URL="${FREEBSD_HOST}/pub/FreeBSD/${type}/${ARCH}/${V}" @@ -773,7 +773,7 @@ install_from_ftp() { case $(echo "${FREEBSD_HOST}" | \ tr '[:upper:]' '[:lower:]') in *download.freebsd.org) - URL="${FREEBSD_HOST}/ftp/${type}/${ARCH%%.*}/${ARCH##*.}/${V}" + URL="${FREEBSD_HOST}/${type}/${ARCH%%.*}/${ARCH##*.}/${V}" ;; *) URL="${FREEBSD_HOST}/pub/FreeBSD/${type}/${ARCH%%.*}/${ARCH##*.}/${V}" |