Prefer local packages in local-source ISOs

This commit is contained in:
David Heinemeier Hansson committed 2026-07-23 17:41:15 -07:00
1 parent 463f862b6c
commit ca79d0f4dc
1 file changed
+7
+7
View File
@@ -42,6 +42,13 @@ packages=(
"$OMARCHY_NVIM_PACKAGE"
)
# Local-source packages must replace every cached build of the same package,
# even when the checkout's generated pkgver sorts below a published build.
# Otherwise the later generic cache pruning can silently keep edge instead.
for pkg in "${packages[@]}"; do
rm -f "$offline_mirror_dir/$pkg-"*.pkg.tar.*
done
for pkg in "${packages[@]}"; do
echo "----------------------------------------"
echo "Building $pkg"