Skip to content

Commit

Permalink
Update key handling in Arch updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sirredbeard committed Feb 5, 2024
1 parent 3134f61 commit 971edbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wsl-dist-update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 971edbc

Please sign in to comment.