diff --git a/scripts-slim/tweak-apt-config b/scripts-slim/tweak-apt-config index d69d544..0a9fef9 100644 --- a/scripts-slim/tweak-apt-config +++ b/scripts-slim/tweak-apt-config @@ -5,14 +5,14 @@ # License: GPL-3.0+ DIR=/ -ETC=etc/apt +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=$DIR$ETC$PARTS +cfg=$(readlink -f /$DIR/$ETC/$PARTS) cat > $cfg/docker-recommends < $cfg/docker-clean <