> 

> This might be a good one to ask the users.
> 

> fsmithred
> 


Agreed.

But if you did want to do it programmatically without parsing every 
sources.{d/*,conf}...
Ask apt what it is cacheing...

if [ -n "$(apt-cache policy | grep 'buster/non-free')" ]; then
  echo "yes include non-free repo";
else 

  echo "no don't!";
fi

Attachment: publickey - g4sra@protonmail.com - 0x42E94623.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to