Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /tmp/packerbuild-1108/pacget/pacget/src/pacget 2010-09-03 15:54:04.000000000 +0200
- +++ /usr/bin/pacget 2011-03-25 10:57:38.362821268 +0100
- @@ -34,7 +34,7 @@
- # For db files, or when using a custom repo (which most likely doesn't have any mirror),
- # use only the URL passed by pacman; Otherwise, extract the list of servers (from the include file of the repo) to download from
- url=$1
- -if ! [[ $filename = *.db.tar.gz || $repo = "custom" ]]; then
- +if ! [[ $filename = *.db || $repo = "custom" ]]; then
- mirrorlist=$(awk -F' *= *' '$0~"^\\["r"\\]",/Include *= */{l=$2} END{print l}' r=$repo /etc/pacman.conf)
- if [ -n mirrorlist ]; then
- num_conn=$(grep ^split $CONF | cut -d'=' -f2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement