summaryrefslogtreecommitdiff
path: root/localcowbuilder-update
diff options
context:
space:
mode:
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