X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-debian-toolbox;h=f978ee15d039244977337ede51e6bc00a217db75;hp=ce0318324809fe4cd3fc4e6a1dbb62d3b8490403;hb=875819cfb91b2b7ed40923eb81f534b94314aa01;hpb=f0b67cfbd6684fcc0ceff76aae57cb0e70e38671 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