build/ports: we need to scrub the old package in both places

This commit is contained in:
Franco Fichtner 2024-02-15 15:17:04 +01:00
parent f273b4f317
commit 3bcd199713
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ UNAME_r=\$(freebsd-version)
PKGFILE=\$(readlink -f \${PKGLINK} || true)
if [ -f \${PKGFILE} ]; then
if [ ${MISMATCH} = "no" ]; then
rm \${PKGFILE}
rm ${PACKAGESDIR}*/All/\$(basename \${PKGFILE})
else
PKGVERS=\$(make -C ${PORTSDIR}/\${PORT} -v PKGVERSION \${MAKE_ARGS})
echo ">>> Skipped version \${PKGVERS} for \${PORT_DESCR}" >> /.pkg-msg