diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-02-10 15:48:49 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-03-05 11:29:01 +0000 |
commit | 36a3ba76347ef72df1c316312ed3a26aa4b0c816 (patch) | |
tree | 1777349053ca63a9cb543230289b2c1f65778a5c /scripts/build/chroot_archives | |
parent | a96107a3f124cdbeecb3fb6d4a13f3dc7cb62ea7 (diff) | |
download | vyos-live-build-36a3ba76347ef72df1c316312ed3a26aa4b0c816.tar.gz vyos-live-build-36a3ba76347ef72df1c316312ed3a26aa4b0c816.zip |
fix indentation
including:
- spaces replaced with tabs for consistency
- alignment of `;;` in some case statements changed for consistency
Gbp-Dch: Short
Closes: #952857
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-x | scripts/build/chroot_archives | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 5d005b23c..fc5cc78d6 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -37,7 +37,7 @@ Require_stagefile .build/config .build/bootstrap case "${LB_DERIVATIVE}" in true) _PARENT_FILE="sources.list.d/debian.list" - ;; + ;; false) _PARENT_FILE="sources.list" @@ -62,10 +62,10 @@ case "${1}" in # Configure custom sources.list -if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/' -then - Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')" -fi + if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/' + then + Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')" + fi cat > chroot/etc/apt/${_PARENT_FILE} << EOF deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS} |