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/binary_package-lists | |
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/binary_package-lists')
-rwxr-xr-x | scripts/build/binary_package-lists | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/scripts/build/binary_package-lists b/scripts/build/binary_package-lists index 599ab884a..46879ed35 100755 --- a/scripts/build/binary_package-lists +++ b/scripts/build/binary_package-lists @@ -129,14 +129,13 @@ then mv "${FILE}" binary/${POOL}/${SECTION}/"${LETTER}"/"${SOURCE}" done - if [ -e chroot/etc/os-release ] - then - _VERSION="$(. chroot/etc/os-release && echo ${VERSION_ID})" - fi - - if [ -n "${_VERSION}" ]; then - _LB_APT_VERSION_OPT='-o APT::FTPArchive::Release::Version="'"${_VERSION}"'"' - fi + if [ -e chroot/etc/os-release ]; then + _VERSION="$(. chroot/etc/os-release && echo ${VERSION_ID})" + fi + + if [ -n "${_VERSION}" ]; then + _LB_APT_VERSION_OPT='-o APT::FTPArchive::Release::Version="'"${_VERSION}"'"' + fi cd binary |