From 6c2f0921fb023a02b143bcf81487b89890c539d0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 18 Aug 2014 17:20:22 -0400 Subject: profile_feeds(): Accept a mirror argument --- (limited to 'lib/profiles') diff --git a/lib/profiles/proteanos.sh b/lib/profiles/proteanos.sh index a7946a5..f45a45e 100644 --- a/lib/profiles/proteanos.sh +++ b/lib/profiles/proteanos.sh @@ -89,15 +89,15 @@ prof_proteanos_select_mirror() prof_proteanos_feeds() { - local arch="${1}" - local plat="${2}" - local suite="${3}" - local archive= + local mirror="${1}" + local arch="${2}" + local plat="${3}" + local suite="${4}" local a= local p= local s= - archive='http://files.proteanos.com/pub/proteanos' + mirror='http://files.proteanos.com/pub/proteanos' for a in "${arch}" 'all'; do for p in "${plat}" 'all'; do @@ -106,7 +106,7 @@ prof_proteanos_feeds() "${suite%/*}" "${suite#*/}" \ "${a}" "${p}" "${s}" printf '%s/feeds/%s/%s/%s/%s/Packages\n' \ - "${archive}" "${suite}" \ + "${mirror}" "${suite}" \ "${a}" "${p}" "${s}" done done -- cgit v0.9.1