summaryrefslogtreecommitdiff
path: root/scripts/build/binary_package-lists
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_package-lists')
-rwxr-xr-xscripts/build/binary_package-lists15
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