Disable Ubuntu Pro Aps

This commit is contained in:
Jan Jastrow 2024-10-30 22:21:23 +01:00
parent a635273e20
commit 0598f29596

5
scripts/ubuntu-disable-ads.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -uo pipefail
# Comment out all URLs in this apt source
sudo sed -i'' -e 's/^\(\s\+\)\([^#]\)/\1# \2/' /etc/apt/apt.conf.d/20apt-esm-hook.conf