diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2011-05-21 19:30:37 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2011-05-21 19:35:07 +0200 |
| commit | 35ec60f02489c9f81ac9ae37b3930353c2c37820 (patch) | |
| tree | 67311271b06ff8901662efc086212af60918a89a /localcowbuilder-update | |
| parent | c209fbe3f2f6dd24776ca0649182b532490f21d9 (diff) | |
Suppress cowbuilder/pbuilder cache (use approx instead.
Diffstat (limited to 'localcowbuilder-update')
| -rwxr-xr-x | localcowbuilder-update | 3 |
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 |
