Pinning packages when one goes bad (#1162)

* Don't update system packages to prevent issues from something too new at the wrong time

* Add system to pin and ignore bad packages

To deal with the abseil-cpp issue
This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2025-08-27 12:06:08 +02:00
1 parent a7df6c0941
commit 742e601baf
8 files changed
+35 -2

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# We pin explicit packages that are bad upstream here
pinned_packages=$(omarchy-pkg-pinned)
if [[ -n $pinned_packages ]]; then
echo -e "\e[32m\nInstall pinned system packages\e[0m"
for pinned in $pinned_packages; do
echo "sudo pacman -U --noconfirm $pinned"
sudo pacman -U --noconfirm $pinned
done
fi