From b94d866a0b09323ce27b5106435883b3c8c68bd8 Mon Sep 17 00:00:00 2001 From: Jingbei Li Date: Sat, 28 Dec 2024 12:52:39 +0800 Subject: [PATCH] disabled DownloadUser --- actions/config-pacman-repository/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/config-pacman-repository/action.yml b/actions/config-pacman-repository/action.yml index 6dcbd0a..aec1269 100644 --- a/actions/config-pacman-repository/action.yml +++ b/actions/config-pacman-repository/action.yml @@ -31,6 +31,7 @@ runs: echo [${{ inputs.pacman-repository }}] >> /etc/pacman.conf echo Include = /etc/pacman.d/mirrorlist.${{ inputs.pacman-repository }} >> /etc/pacman.conf sed 's/^#DisableSandbox/DisableSandbox/' -i /etc/pacman.conf || : + sed 's/^DownloadUser/#DownloadUser/' -i /etc/pacman.conf || : sed 's/#//' -i mirrorlist/*mirrorlist* rankmirrors -r ${{ inputs.pacman-repository }} mirrorlist/*mirrorlist* | sed -n '/^#/b;p' | tee /etc/pacman.d/mirrorlist.${{ inputs.pacman-repository }} pacman -Sy