From: Martin Pitt Date: Tue, 1 Sep 2020 04:44:30 +0000 (+0200) Subject: build-debian-toolbox: Add deb-src X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=875819cfb91b2b7ed40923eb81f534b94314aa01;p=bin.git build-debian-toolbox: Add deb-src --- diff --git a/build-debian-toolbox b/build-debian-toolbox index ce03183..f978ee1 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -18,8 +18,8 @@ fi # go-faster apt/dpkg echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io -# location based redirector gets it wrong with company VPN -sed -i "s/deb.debian.org/ftp.de.debian.org/" /etc/apt/sources.list +# location based redirector gets it wrong with company VPN; also add deb-src +sed -i "s/deb.debian.org/ftp.de.debian.org/; /^deb\b/ { p; s/^deb/deb-src/ }" /etc/apt/sources.list apt-get update apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin