summaryrefslogtreecommitdiff
path: root/localcowbuilder-update
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-05-21 19:30:37 +0200
committerJonas Smedegaard <dr@jones.dk>2011-05-21 19:35:07 +0200
commit35ec60f02489c9f81ac9ae37b3930353c2c37820 (patch)
tree67311271b06ff8901662efc086212af60918a89a /localcowbuilder-update
parentc209fbe3f2f6dd24776ca0649182b532490f21d9 (diff)
Suppress cowbuilder/pbuilder cache (use approx instead.
Diffstat (limited to 'localcowbuilder-update')
-rwxr-xr-xlocalcowbuilder-update3
1 files changed, 1 insertions, 2 deletions
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