diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2022-06-18 06:15:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 06:15:19 +0300 |
commit | 1728012cdd75a7f17c42070abcb18f6dbd644ebd (patch) | |
tree | 24151a40d37798f84a83c83c1e0f42579e103ed5 /src/share | |
parent | 6a2fbd20d303abdc8c3aed84da3be2409a7792cd (diff) | |
parent | f39126e4ba4550d004faf03f404e49791a03349d (diff) |
Merge pull request #975 from lwhsu/download-path
download.freebsd.org has no /ftp/ in the path anymore
Diffstat (limited to 'src/share')
-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}" |