Replacing sed 4.2 command to assemble debootstraps components option with a less advanced one, in order to work on legacy distributions.
This commit is contained in:
parent
6b1d9f2ab8
commit
783088bf04
|
@ -60,7 +60,7 @@ fi
|
||||||
if [ "${LH_ARCHIVE_AREAS}" != "main" ]
|
if [ "${LH_ARCHIVE_AREAS}" != "main" ]
|
||||||
then
|
then
|
||||||
# Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas
|
# Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas
|
||||||
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -E -e 's/^[ \t]*//;s/[ \t]*$//' -e 's/[ \t]+/,/g')"
|
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components $(echo ${LH_ARCHIVE_AREAS} | sed -e 's| |,|g')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${LH_BOOTSTRAP_CONFIG}" ]
|
if [ -n "${LH_BOOTSTRAP_CONFIG}" ]
|
||||||
|
|
Loading…
Reference in New Issue