From fa237f67eb37cd409fe8d2a9886c7627f3453c58 Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Fri, 18 Aug 2017 12:17:18 +0900 Subject: [PATCH] Don't bother downloading translated package descriptions This might speed up `apt-get update` depending on environment settings and availability of translations. --- scripts/tweak-apt-config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/tweak-apt-config b/scripts/tweak-apt-config index 20c8bf0..624e960 100755 --- a/scripts/tweak-apt-config +++ b/scripts/tweak-apt-config @@ -21,4 +21,9 @@ APT::Update::Post-Invoke { "if test -x $cmd; then $cmd; fi"; }; EOF chmod 0644 $cfg/docker-clean +cat > $cfg/docker-translations <<- EOF +Acquire::Languages "none"; +EOF +chmod 0644 $cfg/docker-translations + rm $0