From: Reto Gantenbein Date: Sat, 18 Feb 2017 15:57:55 +0000 (+0100) Subject: Adjust indenting X-Git-Tag: lxc-2.1.0~195^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e93dfa9c34342b16b9698cfda793a2121e1bc916;p=thirdparty%2Flxc.git Adjust indenting Signed-off-by: Reto Gantenbein --- diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index 252bcc0e5..5e93de90e 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -820,14 +820,14 @@ setup_repositories() # if no mirror given, get an appropriate mirror from the mirror list if [ -z "${mirror}" ] then - get_mirrors "${release}" "${target_arch}" || return $? - else - # construct release-specific mirror url - mirror="${mirror}/linux/releases/${release}/Everything/${target_arch}/os" - fi - - for mirror_url in ${mirror:-${mirror_urls}} - do + get_mirrors "${release}" "${target_arch}" || return $? + else + # construct release-specific mirror url + mirror="${mirror}/linux/releases/${release}/Everything/${target_arch}/os" + fi + + for mirror_url in ${mirror:-${mirror_urls}} + do local release_url="${mirror_url}/Packages/f" for pkg in fedora-release-${release} fedora-repos-${release}