From 5208fdb5d40c6979dd6618c693a6d2e6ab7514ce Mon Sep 17 00:00:00 2001 From: dancer Date: Fri, 30 Sep 2005 14:32:24 +0000 Subject: update documentation and manual pages * suppress warnings from find; it wants -maxdepth before any other argument. (closes: #330848) * Documentation update patch from Osamu Aoki to clarify about configuration file priorities and issues associated with it. (closes: #325318) --- pbuilder-updatebuildenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-updatebuildenv') diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 8beade5..75a524f 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -52,7 +52,7 @@ save_aptcache if [ "${AUTOCLEANAPTCACHE}" = "yes" -a -n "$APTCACHE" ]; then echo " -> Cleaning the cached apt archive" $CHROOTEXEC /usr/bin/apt-get autoclean || true - find "$APTCACHE/" -name \*.deb -maxdepth 1 | \ + find "$APTCACHE/" -maxdepth 1 -name \*.deb | \ while read A; do if [ ! -f "$BUILDPLACE/var/cache/apt/archives/"$(basename "$A") -a \ -f "$A" ]; then -- cgit v1.2.3