Skip to content

Commit

Permalink
archlinux: prefer current-testing if enabled
Browse files Browse the repository at this point in the history
Pacman uses repository order to decide their priority, and then when
package is found in multiple repositories, the higher repo priority wins
(not the higher package version). Move testing repo earlier, so testing
packages actually has a chance being installed.
  • Loading branch information
marmarek committed Jan 24, 2024
1 parent 369f8a5 commit b4c9d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archlinux/PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package_qubes-vm-repo() {
cd "${_pkgnvr}"

install -m 0644 -D repos/archlinux-qubes-repo-4.2-current.conf "${pkgdir}/etc/pacman.d/90-qubes-4.2-current.conf.disabled"
install -m 0644 -D repos/archlinux-qubes-repo-4.2-current-testing.conf "${pkgdir}/etc/pacman.d/90-qubes-4.2-current-testing.conf.disabled"
install -m 0644 -D repos/archlinux-qubes-repo-4.2-current-testing.conf "${pkgdir}/etc/pacman.d/85-qubes-4.2-current-testing.conf.disabled"

# Install keyring (will be activated through the .install file)
install -dm755 "${pkgdir}/usr/share/pacman/keyrings/"
Expand Down

0 comments on commit b4c9d86

Please sign in to comment.