Commit abf0a12b authored by anonym's avatar anonym
Browse files

Tighten regular expressions slightly.

More for consistency and style than in anticipation of it making a
difference at some point.

Refs: #12374
parent b7510465
......@@ -42,7 +42,7 @@ cp "$CHROOT_SYSLINUX_MBR" "$BINARY_MBR_DIR/mbr.bin"
cat chroot/etc/apt/sources.list chroot/etc/apt/sources.list.d/*.list \
| grep --extended-regexp --invert-match \
'file:/root/local-packages' \
'^deb\s+file:/root/local-packages' \
| grep --extended-regexp --invert-match \
'^deb\s+http://tagged\.snapshots\.deb\.tails\.boum.org/[^/]+/torproject(/|\s)' \
| grep --extended-regexp --invert-match \
......
......@@ -17,7 +17,7 @@ toggle_src_APT_sources() {
on)
cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list \
| grep --extended-regexp --invert-match \
'file:/root/local-packages' \
'^deb\s+file:/root/local-packages' \
| grep --extended-regexp --invert-match \
'^deb\s+http://tagged\.snapshots\.deb\.tails\.boum.org/[^/]+/torproject(/|\s)' \
| grep --extended-regexp --invert-match \
......
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