Commit 0fa137b5 authored by Samuel Thibault's avatar Samuel Thibault

gen-sources.list.udeb: Allow to have several spaces around [] qualifiers in sources.list entries.

parent 606b6a6e
......@@ -36,7 +36,7 @@ get_mirrors() {
[ -s $file ] || continue
grep '^deb[[:space:]]' $file | \
grep -v '^deb[[:space:]]\+cdrom:' | \
sed 's,^deb \[[^]]*\] ,deb ,' | \
sed 's,^deb[[:space:]]\+\[[^]]*\][[:space:]]\+,deb ,' | \
grep -v 'security.debian.org' | \
grep '[[:space:]]main' | \
awk '{print $1 " " $2}' | \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment