From 626cc0e55bc45619341fd4a58b45251551b7eadd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Wed, 2 Oct 2019 08:27:36 +0200 Subject: [PATCH] Set mirror upgrade hook to only use https mirrors --- etc/pacman.d/hooks/mirrorupgrade.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/pacman.d/hooks/mirrorupgrade.hook b/etc/pacman.d/hooks/mirrorupgrade.hook index fd847c6..8d170b2 100644 --- a/etc/pacman.d/hooks/mirrorupgrade.hook +++ b/etc/pacman.d/hooks/mirrorupgrade.hook @@ -7,4 +7,4 @@ Target = pacman-mirrorlist Description = Updating pacman-mirrorlist with reflector and removing pacnew... When = PostTransaction Depends = reflector -Exec = /usr/bin/env sh -c "reflector --country 'Germany' --latest 200 --age 24 --sort rate --save /etc/pacman.d/mirrorlist; if [[ -f /etc/pacman.d/mirrorlist.pacnew ]]; then rm /etc/pacman.d/mirrorlist.pacnew; fi" +Exec = /usr/bin/env sh -c "reflector --country 'Germany' --latest 200 --age 24 --sort rate -p https --save /etc/pacman.d/mirrorlist; if [[ -f /etc/pacman.d/mirrorlist.pacnew ]]; then rm /etc/pacman.d/mirrorlist.pacnew; fi"