Merge "Fix DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE regex typo"
This commit is contained in:
commit
ec025ff03d
@ -12,7 +12,7 @@ DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-}
|
|||||||
|
|
||||||
while IFS= read line
|
while IFS= read line
|
||||||
do
|
do
|
||||||
if [[ "$line" =~ "${DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE:-}" ]]; then
|
if [[ "$line" =~ ${DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE:-} ]]; then
|
||||||
# append line unmodified
|
# append line unmodified
|
||||||
echo "$line" | tee --append /etc/apt/sources.list.new
|
echo "$line" | tee --append /etc/apt/sources.list.new
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user