aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-15 17:57:01 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-11-15 17:57:01 +0000
commit92191f5c6441c7d700c91bc03a0a1274645c82f0 (patch)
tree70605b3cde8b54c4a280426fb0576fd4c61411bc
parent5b449f8927d83a4298775c72bef56307468d97a9 (diff)
downloadpbuilder-92191f5c6441c7d700c91bc03a0a1274645c82f0.tar
pbuilder-92191f5c6441c7d700c91bc03a0a1274645c82f0.tar.gz
pbuilder: clean: use `rm -f` when removing APTCACHE/*, so we don't fail when there is nothing in it
Closes: #607607
-rwxr-xr-xpbuilder2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder b/pbuilder
index 71d6962..f0bbf3d 100755
--- a/pbuilder
+++ b/pbuilder
@@ -47,7 +47,7 @@ case "$1" in
fi
if [ -n "$APTCACHE" ]; then
log.i "Cleaning [$APTCACHE]"
- rm "$APTCACHE"/* || true
+ rm -f "$APTCACHE"/* || true
fi
;;
--login|login)