From c8aee416668f46bf4dc526b5bc6e93b30fada6f5 Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Sat, 28 Sep 2024 13:41:52 +0200 Subject: [PATCH] fix repo check --- core/tabs/system-setup/arch/linux-neptune.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tabs/system-setup/arch/linux-neptune.sh b/core/tabs/system-setup/arch/linux-neptune.sh index cc2f2e58..93d204f9 100755 --- a/core/tabs/system-setup/arch/linux-neptune.sh +++ b/core/tabs/system-setup/arch/linux-neptune.sh @@ -3,13 +3,13 @@ . ../../common-script.sh setUpRepos() { - if ! grep -q "^\s*$$jupiter-staging$$" /etc/pacman.conf; then + if ! grep -q "^\s*\[jupiter-staging\]" /etc/pacman.conf; then printf "%b\n" "${CYAN}Adding jupiter-staging to pacman repositories...${RC}" echo "[jupiter-staging]" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf echo "Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/\$repo/os/\$arch" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf echo "SigLevel = Never" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf fi - if ! grep -q "^\s*$$holo-staging$$" /etc/pacman.conf; then + if ! grep -q "^\s*\[holo-staging\]" /etc/pacman.conf; then printf "%b\n" "${CYAN}Adding holo-staging to pacman repositories...${RC}" echo "[holo-staging]" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf echo "Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/\$repo/os/\$arch" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf