diff --git a/bin/omarchy-refresh-pacman-opr-server b/bin/omarchy-refresh-pacman-opr-server new file mode 100755 index 00000000..601e6b92 --- /dev/null +++ b/bin/omarchy-refresh-pacman-opr-server @@ -0,0 +1,7 @@ +#!/bin/bash + +if [[ $1 == "edge" ]]; then + sudo sed -i 's|https://pkgs.omarchy.org/.*$arch|https://pkgs.omarchy.org/edge/$arch|' /etc/pacman.conf +else + sudo sed -i 's|https://pkgs.omarchy.org/.*$arch|https://pkgs.omarchy.org/stable/$arch|' /etc/pacman.conf +fi diff --git a/default/pacman/pacman.conf b/default/pacman/pacman.conf index f5760877..5dafbc84 100644 --- a/default/pacman/pacman.conf +++ b/default/pacman/pacman.conf @@ -27,4 +27,4 @@ Include = /etc/pacman.d/mirrorlist [omarchy] SigLevel = Optional TrustAll -Server = https://pkgs.omarchy.org/$arch +Server = https://pkgs.omarchy.org/stable/$arch diff --git a/migrations/1763561396.sh b/migrations/1763561396.sh new file mode 100644 index 00000000..f464dcd6 --- /dev/null +++ b/migrations/1763561396.sh @@ -0,0 +1,3 @@ +echo "Switch to stable Omarchy Package Repository builds" + +omarchy-refresh-pacman-opr-server