From 35ec60f02489c9f81ac9ae37b3930353c2c37820 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 21 May 2011 19:30:37 +0200 Subject: Suppress cowbuilder/pbuilder cache (use approx instead. --- localcowbuilder-update | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'localcowbuilder-update') diff --git a/localcowbuilder-update b/localcowbuilder-update index 18507ea..5e2ae22 100755 --- a/localcowbuilder-update +++ b/localcowbuilder-update @@ -42,11 +42,10 @@ export LANG=C for pool in $@; do basepath="/var/cache/pbuilder/cow-$pool" - aptcache="/var/cache/pbuilder/aptcache-$pool/" + aptcache="" # sudo cowbuilder --update \ # --basepath "$basepath" \ # --aptcache "$aptcache" - sudo find "$aptcache" -type f -exec cp -a '{}' "$basepath/var/cache/apt/archives/" ';' sudo chroot "$basepath" apt-get -y --force-yes update sudo chroot "$basepath" apt-get -y --force-yes upgrade sudo chroot "$basepath" apt-get -y --force-yes clean -- cgit v1.2.3