]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Adjust indenting
authorReto Gantenbein <reto.gantenbein@linuxmonk.ch>
Sat, 18 Feb 2017 15:57:55 +0000 (16:57 +0100)
committerReto Gantenbein <reto.gantenbein@linuxmonk.ch>
Sat, 18 Feb 2017 16:08:42 +0000 (17:08 +0100)
Signed-off-by: Reto Gantenbein <reto.gantenbein@linuxmonk.ch>
templates/lxc-fedora.in

index 252bcc0e5f885945c7b45cdf622adf8f516dd602..5e93de90e166a364e495f3584b6bb8a817e0e198 100644 (file)
@@ -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}