From 9917a8cb2df4304ec39325fa7743feb57ef3af1c Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Sat, 16 Jun 2007 17:01:18 +0900 Subject: * /var/cache/apt/archives is deleted when I set APTCACHE to /var/cache/apt/archives and I call pbuilder clean (closes: #425832) --- ChangeLog | 5 +++++ debian/changelog | 4 +++- pbuilder | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d643867..6d0e1c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-16 Junichi Uekawa + + * pbuilder: rm "$APTCACHE"/*, instead of cleaning subdirectories. + Subdirectories shouldn't usually be created. + 2007-06-15 Junichi Uekawa * pbuilderrc.5: reorganize to maintain same ordering as pbuilder.8 diff --git a/debian/changelog b/debian/changelog index d5e8db8..dfb4b3f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ pbuilder (0.170) UNRELEASED; urgency=low * add example rebuild script from Bastian Venthur (http://people.debian.org/~venthur/stuff/2007-06-rebuild/) + * /var/cache/apt/archives is deleted when I set APTCACHE to /var/cache/apt/archives and I call pbuilder clean + (closes: #425832) - -- Junichi Uekawa Thu, 07 Jun 2007 07:49:48 +0900 + -- Junichi Uekawa Sat, 16 Jun 2007 16:59:28 +0900 pbuilder (0.169) unstable; urgency=low diff --git a/pbuilder b/pbuilder index d884df4..25af124 100755 --- a/pbuilder +++ b/pbuilder @@ -47,7 +47,7 @@ case "$1" in fi if [ -n "$APTCACHE" ]; then echo "Cleaning [$APTCACHE]" - clean_subdirectories "$APTCACHE" || true + rm "$APTCACHE"/* || true fi ;; --login|login) -- cgit v1.2.3