aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/update-mirrorlist.sh
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-07-21 15:53:52 +0300
committereug-vs <eug-vs@keemail.me>2021-07-21 16:04:10 +0300
commitcf3eefda31e98d4725a64000861a388ba7708c62 (patch)
tree7e0028cede47398c74056c92af30c515bc8f9579 /.local/bin/update-mirrorlist.sh
parent26d393eacb0468edeed62befe365c1ae0752a680 (diff)
downloaddotfiles-cf3eefda31e98d4725a64000861a388ba7708c62.tar.gz
feat!: move to GNU Stow, remove wikifeat/stow
Diffstat (limited to '.local/bin/update-mirrorlist.sh')
-rwxr-xr-x.local/bin/update-mirrorlist.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/update-mirrorlist.sh b/.local/bin/update-mirrorlist.sh
deleted file mode 100755
index 958c194..0000000
--- a/.local/bin/update-mirrorlist.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Update mirrorlist
-
-export TMPFILE=$(mktemp)
-
-sudo true # Force password prompt in the beginning
-rate-arch-mirrors --max-delay=21600 --entry-country=BY | tee -a $TMPFILE
-sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist-backup
-sudo mv $TMPFILE /etc/pacman.d/mirrorlist