fix indentation
including: - spaces replaced with tabs for consistency - alignment of `;;` in some case statements changed for consistency Gbp-Dch: Short Closes: #952857
This commit is contained in:
parent
a96107a3f1
commit
36a3ba7634
|
@ -141,6 +141,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
|
||||||
|
|
||||||
_CHROOT_DIR=""
|
_CHROOT_DIR=""
|
||||||
;;
|
;;
|
||||||
|
|
||||||
false)
|
false)
|
||||||
_CHROOT_DIR="chroot"
|
_CHROOT_DIR="chroot"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -129,8 +129,7 @@ then
|
||||||
mv "${FILE}" binary/${POOL}/${SECTION}/"${LETTER}"/"${SOURCE}"
|
mv "${FILE}" binary/${POOL}/${SECTION}/"${LETTER}"/"${SOURCE}"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -e chroot/etc/os-release ]
|
if [ -e chroot/etc/os-release ]; then
|
||||||
then
|
|
||||||
_VERSION="$(. chroot/etc/os-release && echo ${VERSION_ID})"
|
_VERSION="$(. chroot/etc/os-release && echo ${VERSION_ID})"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -62,10 +62,10 @@ case "${1}" in
|
||||||
|
|
||||||
# Configure custom sources.list
|
# Configure custom sources.list
|
||||||
|
|
||||||
if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/'
|
if echo "${LB_PARENT_MIRROR_CHROOT}" | grep -q '^file:/'
|
||||||
then
|
then
|
||||||
Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')"
|
Chroot_bind_path chroot "$(echo ${LB_PARENT_MIRROR_CHROOT} | sed -e 's|file:||')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat > chroot/etc/apt/${_PARENT_FILE} << EOF
|
cat > chroot/etc/apt/${_PARENT_FILE} << EOF
|
||||||
deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS}
|
deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION_CHROOT} ${LB_PARENT_ARCHIVE_AREAS}
|
||||||
|
|
Loading…
Reference in New Issue