From 8c4bf6572772085dc6bc5eadcc6042f265e6d1c7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 19 Nov 2025 20:59:12 +0100 Subject: [PATCH] Start using the stable pkg server by default --- bin/omarchy-refresh-pacman-opr-server | 7 +++++++ default/pacman/pacman.conf | 2 +- migrations/1763561396.sh | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 bin/omarchy-refresh-pacman-opr-server create mode 100644 migrations/1763561396.sh 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