diff --git a/migrations/1761599218.sh b/bin/omarchy-update-keyring old mode 100644 new mode 100755 similarity index 82% rename from migrations/1761599218.sh rename to bin/omarchy-update-keyring index 32b3b2f1..5e6d2849 --- a/migrations/1761599218.sh +++ b/bin/omarchy-update-keyring @@ -1,8 +1,12 @@ -echo "Installing omarchy-keyring to ensure package signature verification" +#!/bin/bash +# Ensure we have the omarchy-keyring and it's populated 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 + + sudo pacman -Sy omarchy-pkg-add omarchy-keyring + sudo pacman-key --list-keys 40DFB630FF42BCFFB047046CF0134EE680CAC571 fi diff --git a/bin/omarchy-update-perform b/bin/omarchy-update-perform index 9e68a67b..477987f9 100755 --- a/bin/omarchy-update-perform +++ b/bin/omarchy-update-perform @@ -2,6 +2,7 @@ set -e +omarchy-update-keyring omarchy-update-available-reset omarchy-update-system-pkgs omarchy-migrate