diskimage-builder/elements/dpkg/pre-install.d/00-disable-apt-recommends

13 lines
209 B
Plaintext
Raw Normal View History

#!/bin/bash
# Prevent apt from installing recommended packages
set -eu
set -o pipefail
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_
APT::Install-Recommends "0";
Apt::Install-Suggests "0";
_EOF_