diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-15 17:57:01 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-15 17:57:01 +0000 |
commit | 92191f5c6441c7d700c91bc03a0a1274645c82f0 (patch) | |
tree | 70605b3cde8b54c4a280426fb0576fd4c61411bc | |
parent | 5b449f8927d83a4298775c72bef56307468d97a9 (diff) | |
download | pbuilder-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-x | pbuilder | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |