commit 31975211b1543fee78480592d799c19a75b3c525
parent a92a5aee8dafe76cd0605d82521b0bd2b35c5204
Author: parazyd <parazyd@dyne.org>
Date: Sun, 21 May 2017 20:43:20 +0200
no-recommends for dpkg-dev (fill_apt_cache)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zlibs/helpers b/zlibs/helpers
@@ -392,14 +392,14 @@ fill_apt_cache() {
# NOTE: do we need apt update or does it read the remote(s)?
apt-get update
-apt-get install dpkg-dev
+apt-get --yes --force-yes --no-install-recommends install dpkg-dev
cp -afv /var/cache/apt/archives/*.deb /mnt
cd /mnt
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
cd -
-apt-get purge dpkg-dev
+apt-get --yes --force-yes purge dpkg-dev
sed -i -e "@deb file:/mnt@d" /etc/apt/sources.list
apt-get update