diff options
author | Joseph Graham <joseph@xylon.me.uk> | 2017-05-18 17:53:05 +0100 |
---|---|---|
committer | Joseph Graham <joseph@xylon.me.uk> | 2017-05-18 17:53:05 +0100 |
commit | ae231b1af8c185279c7ab34d3af720a77b8d3c3e (patch) | |
tree | 0f5447a1d946ff291e7d548a035c3f9371ae8eb2 | |
parent | 64727f9a11fd57df4f557ac2b074a898a94c7c10 (diff) |
Fixed problem with it mis-reading the mirrorlist
-rw-r--r-- | pacman2pacman-get | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pacman2pacman-get b/pacman2pacman-get index dd18bb9..897ef5f 100644 --- a/pacman2pacman-get +++ b/pacman2pacman-get @@ -1,7 +1,7 @@ #! /bin/bash # /usr/bin/pacman2pacman-get # -# Version 1.5.4 +# Version 1.5.5 # # Copyright (C) 2014,2017 Joseph Graham <joseph@xylon.me.uk> # @@ -105,7 +105,7 @@ else # Loop only continues if we got neither a 404 nor a valid # torrent, indicating the server must be down? - done < <(grep 'Server \?= \?' "/etc/pacman.d/mirrorlist") + done < <(grep '^Server \?= \?' "/etc/pacman.d/mirrorlist") fi if [[ "${response}" == 'anomaly' ]] |