From 36e15229bf0ef6d9714c7b48b1af9bea91e21ab1 Mon Sep 17 00:00:00 2001 From: samedamci Date: Wed, 13 May 2020 09:10:04 +0200 Subject: [PATCH] Add 'mirrors' script to crontab --- .local/bin/cron/mirrors | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .local/bin/cron/mirrors diff --git a/.local/bin/cron/mirrors b/.local/bin/cron/mirrors new file mode 100755 index 0000000..39ba55e --- /dev/null +++ b/.local/bin/cron/mirrors @@ -0,0 +1,4 @@ +#!/bin/sh + +sudo reflector --latest 200 --protocol http --protocol https --sort \ + rate --save /etc/pacman.d/mirrorlist