From 971edbc91ac5a24e658429bbf97186f27d74c615 Mon Sep 17 00:00:00 2001 From: Hayden Barnes Date: Mon, 5 Feb 2024 08:47:11 -0500 Subject: [PATCH] Update key handling in Arch updates --- wsl-dist-update.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wsl-dist-update.ps1 b/wsl-dist-update.ps1 index 8f575d4..1d1378a 100644 --- a/wsl-dist-update.ps1 +++ b/wsl-dist-update.ps1 @@ -56,6 +56,8 @@ $results = foreach ($distro in $distros) { wsl.exe -d $distro -u root zypper dup -y > $null } "*arch*" { + wsl.exe -d $distro -u root pacman -Sy archlinux-keyring --noconfirm > $null + wsl.exe -d $distro -u root pacman-key --init > $null wsl.exe -d $distro -u root pacman -Syu --noconfirm > $null } "openEuler" {