#!/bin/sh -eu # tweak-apt-config -- for use in a Docker image # Copyright (C) 2017 Olaf Meeuwissen # # License: GPL-3.0+ DIR=/ ETC=etc/apt/ PARTS=apt.conf.d eval $(apt-config shell DIR Dir) eval $(apt-config shell ETC Dir::Etc) eval $(apt-config shell PARTS Dir::Etc::Parts) cfg=$(readlink -f /$DIR/$ETC/$PARTS) cat > $cfg/docker-recommends <