.dotfiles/scripts/ubuntu-disable-ads.sh
2024-10-30 22:21:23 +01:00

6 lines
167 B
Bash
Executable File

#!/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