Add omarchy-keyring for existing installs

This commit is contained in:
Ryan Hughes
2025-10-27 17:50:08 -04:00
parent b3e7ff2b60
commit 4bb626bc4e

8
migrations/1761599218.sh Normal file
View File

@@ -0,0 +1,8 @@
echo "Installing omarchy-keyring to ensure package signature verification"
if omarchy-pkg-missing omarchy-keyring || ! sudo pacman-key --list-keys 40DFB630FF42BCFFB047046CF0134EE680CAC571 &>/dev/null; then
sudo pacman-key --recv-keys 40DFB630FF42BCFFB047046CF0134EE680CAC571 --keyserver keys.openpgp.org
sudo pacman-key --lsign-key 40DFB630FF42BCFFB047046CF0134EE680CAC571
omarchy-pkg-add omarchy-keyring
sudo pacman-key --list-keys 40DFB630FF42BCFFB047046CF0134EE680CAC571
fi