commit 1c0ce6cef15a981668942072977ab5b2ec6f4ce5 parent d0038d87c4d40925c0eaca0718fa6a9a70b415c0 Author: parazyd <parazyd@dyne.org> Date: Mon, 22 May 2017 00:55:39 +0200 apt path fix Diffstat:
M | zlibs/cache | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/zlibs/cache b/zlibs/cache @@ -47,7 +47,7 @@ fill_apt_cache() { notice "filling local apt cache" - cp -fv "$strapdir/var/cache/archives/*.deb" "$aptcachedir" + cp -fv $strapdir/var/cache/apt/archives/*.deb $aptcachedir pushd "$aptcachedir" dpkg-scanpackages . /dev/null > Packages @@ -72,7 +72,7 @@ EOF popd - sudo sed -i -e '@deb file:/mnt@d' "$strapdir/etc/apt/sources.list" + sudo sed -i '/deb file:\/mnt/d' "$strapdir/etc/apt/sources.list" notice "removing apt cache gpg pubkey" cat <<EOF | sudo tee ${strapdir}/delcachepubkey >/dev/null #!/bin/sh