From defe63a91c7c8ea40582f1228b90761dcc6f1363 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 29 Aug 2025 19:44:07 +0200 Subject: [PATCH] No trailing slash --- migrations/1751134561.sh | 2 +- migrations/1756360552.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/1751134561.sh b/migrations/1751134561.sh index 367fac3..5f201ed 100644 --- a/migrations/1751134561.sh +++ b/migrations/1751134561.sh @@ -1,7 +1,7 @@ echo "Add Omarchy Package Repository" if ! grep -q "omarchy" /etc/pacman.conf; then - sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf + sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\n' /etc/pacman.conf sudo systemctl restart systemd-timesyncd sudo pacman -Syu --noconfirm fi diff --git a/migrations/1756360552.sh b/migrations/1756360552.sh index a3ec24c..056853d 100644 --- a/migrations/1756360552.sh +++ b/migrations/1756360552.sh @@ -3,5 +3,5 @@ echo "Move Omarchy Package Repository after Arch core/extra/multilib and remove sudo cp /etc/pacman.conf /etc/pacman.conf.bak sudo sed -i '/\[omarchy\]/,+2 d' /etc/pacman.conf sudo sed -i '/\[chaotic-aur\]/,+2 d' /etc/pacman.conf -sudo bash -c 'echo -e "\n[omarchy]\nSigLevel = Optional TrustAll\nServer = https://pkgs.omarchy.org/\$arch/" >> /etc/pacman.conf' +sudo bash -c 'echo -e "\n[omarchy]\nSigLevel = Optional TrustAll\nServer = https://pkgs.omarchy.org/\$arch" >> /etc/pacman.conf' sudo pacman -Syu --noconfirm