diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2022-08-09 12:17:29 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-08 15:10:59 +0000 |
commit | 6538fa7b249fbaac6f75465e202e67b93dbcaa4c (patch) | |
tree | b05324af9a0e519f3be30cc35703e5e3ee6091ed /Makefile | |
parent | fe1d66651a552bba62267aaac8d0c89b383d132b (diff) | |
download | alpine-conf-6538fa7b249fbaac6f75465e202e67b93dbcaa4c.zip |
setup-xorg-base: fix case with several sources in repositories
setup-xorg-base didn't correctly handle the case where
/etc/apk/repositories contains several main sources, and that
caused test failures. We fix this by throwing out the big sed command
(which fails on multiline /etc/apk/repositories) and processing the
repositories file in a pedestrian way, line by line in shell. Since
we entirely cut grep and sed and make sure we never fork in the loop,
the performance is acceptable.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions