From 75e6f8c7eb13b3d690ad0850f34bf6e5c8ea1a98 Mon Sep 17 00:00:00 2001 From: BrainwreckedTech <3752022+BrainwreckedTech@users.noreply.github.com> Date: Fri, 15 Apr 2022 21:08:45 -0400 Subject: [PATCH] Make keyrings variable --- get-pacman-updates.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-pacman-updates.service b/get-pacman-updates.service index 0468213..75ba271 100644 --- a/get-pacman-updates.service +++ b/get-pacman-updates.service @@ -6,6 +6,6 @@ Type=oneshot Nice=19 IOSchedulingClass=2 IOSchedulingPriority=7 -ExecStart=/usr/bin/pacman -Sy --needed --noconfirm archlinux-keyring +Environment=KEYRINGS="archlinux-keyring chaotic-keyring" +ExecStart=/usr/bin/awk 'BEGIN {print "'${KEYRINGS}'"}' | /usr/bin/xargs /usr/bin/pacman -Sy --needed --noconfirm ExecStart=/usr/bin/pacman -Suw --noconfirm -ExecStart=/usr/bin/paccache -r