Browse Source

* Improve regexp in 90security to not misfire if the mirror's name or path

contains "contrib" or "non-free".

r45061
squeeze
Joey Hess 15 years ago
parent
commit
3791847ba1
  1. 7
      debian/changelog
  2. 2
      generators/90security

7
debian/changelog

@ -1,3 +1,10 @@
apt-setup (1:0.19) UNRELEASED; urgency=low
* Improve regexp in 90security to not misfire if the mirror's name or path
contains "contrib" or "non-free".
-- Joey Hess <joeyh@debian.org> Sat, 10 Feb 2007 17:02:51 -0500
apt-setup (1:0.18) unstable; urgency=low
[ Updated translations ]

2
generators/90security

@ -15,7 +15,7 @@ fi
# the file to see if they are listed in it.
dists="main"
for dist in contrib non-free; do
if grep -q '^[^#]*'$dist $ROOT/etc/apt/sources.list.new; then
if grep -q '^[^#]* '$dist $ROOT/etc/apt/sources.list.new; then
dists="$dists $dist"
fi
done

Loading…
Cancel
Save