Re: Debian 12 "bookworm" full upgrade
On Wed, 28 Jun 2023 17:59:20 -0400
Greg Wooledge <greg@wooledge.org> wrote:
> In addition, you change "non-free" to "non-free non-free-firmware".
> This is the new thing for bookworm.
This should do it (mind the wrapping!):
# If this is bookworm, and it hasn't already been done (e.g. by
# preseeding), add non-free-firmware to apt sources.list.
if lsb_release -a 2>1 | grep -i 'Debian GNU/Linux.*bookworm' >> /dev/null ; then
if ! grep non-free-firmware >> /dev/null /etc/apt/sources.list ; then
sed -i.fw -e's/non-free/non-free non-free-firmware/g' /etc/apt/sources.list
fi
fi
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: