aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
authordancer <dancer>2005-04-21 23:10:23 +0000
committerdancer <dancer>2005-04-21 23:10:23 +0000
commit7ab47211b9302dff121ce49dd5cc64ace65fa83a (patch)
tree595d9ffe84449800df10bafa18893feabf0e3ee3 /pbuilder-modules
parent7429331ecf6966c8c42f6ab7af3a64360102b887 (diff)
downloadpbuilder-7ab47211b9302dff121ce49dd5cc64ace65fa83a.tar
pbuilder-7ab47211b9302dff121ce49dd5cc64ace65fa83a.tar.gz
+ * save apt cache after running B hook in build target; so that
+ we don't keep redownloading lintian/linda . (closes: #296999)
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index dda4edc..e40ec3f 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -306,6 +306,7 @@ function recover_aptcache() {
function save_aptcache() {
# save the current aptcache archive
+ # it is safe to call this function several times.
local doit
if [ -n "$APTCACHE" ]; then
echo "Copying back the cached apt archive contents"