Skip to content

Commit

Permalink
disabled DownloadUser
Browse files Browse the repository at this point in the history
  • Loading branch information
petronny committed Dec 28, 2024
1 parent c62165e commit b94d866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actions/config-pacman-repository/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b94d866

Please sign in to comment.