Author: Antoine Date: To: dng Subject: Re: [DNG] Script to migrate buster desktop to beowulf v1.6
On Wednesday, 14 April at 16:13, tito via Dng wrote: >
>Hi,
>thanks for your time and effort. My question was rather practical,
>so let me rephrase it: is there a robust way to detect from a script
>if buster non-free and contrib repos are enabled in
>/etc/apt/sources.lists so that I can add the same repos for
>beowulf to sources.list?
These two lines set the "contrib" and "nonfree" shell variables to 1 if
contrib or non-free are present and uncommented anywhere in the sources list,
or unset them if not.
>Ciao,
>Tito
>