diff options
author | Glen Barber <gjb@FreeBSD.org> | 2022-04-26 19:52:40 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2022-04-26 19:52:40 +0000 |
commit | 68b0a79b7c7ab75597e2511f880238fbf8cfad32 (patch) | |
tree | 6fa0744f35959b96ff700773d68c90e9450b01bb | |
parent | e4b1ae214715cedcf844ffa29c659830e7cc064c (diff) |
release: fix on-disc pkg binary symbolic links
PR: 263574
Reported by: loader
MFC after: immediately
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rwxr-xr-x | release/scripts/pkg-stage.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh index 6dd9f2b62f27..f1bb19636f75 100755 --- a/release/scripts/pkg-stage.sh +++ b/release/scripts/pkg-stage.sh @@ -86,7 +86,9 @@ ${PKGCMD} fetch -o ${PKG_REPODIR} -d ${DVD_PACKAGES} # using the on-disc packages. mkdir -p ${PKG_REPODIR}/Latest (cd ${PKG_REPODIR}/Latest && \ - ln -s ../All/$(${PKGCMD} rquery %n-%v pkg).txz pkg.txz) + ln -s ../All/$(${PKGCMD} rquery %n-%v pkg).pkg pkg.pkg) +(cd ${PKG_REPODIR}/Latest && \ + rm -f pkg.txz && ln -s pkg.pkg pkg.txz) ${PKGCMD} repo ${PKG_REPODIR} |