When we grep for "sid" this matches the string "consider", so make
sure we consider "sid" (and "unstable" while at it as well) only
if it's being used as a whole word.
Thanks to Andreas Korsten for reporting.
done
# notice: activate grml-live pool only if we are building against unstable:
-if grep -qe unstable -qe sid "$SOURCES_LIST_FILE" ; then
+if grep -qwe unstable -qwe sid "$SOURCES_LIST_FILE" ; then
grep -q 'grml-live.*main' "$SOURCES_LIST_FILE" || \
grep grml-stable "$SOURCES_LIST_FILE" | \
sed 's/grml-stable/grml-live/' >> "$SOURCES_LIST_FILE"