Permalink
Browse files

When running "pkg" from the CLI, leave the CACHEDIR cleanup to the user

  • Loading branch information...
kmoore134 committed Nov 19, 2013
1 parent 4ceb51a commit e1a11d485f35d922ce16c2b20178b5ac51ce589c
Showing with 0 additions and 7 deletions.
  1. +0 −7 src-sh/xtrafiles/local/share/pcbsd/bin/pkg
@@ -42,13 +42,6 @@ intercept_pkg_dl()
pkg-static $fullopts
result=$?
- # Nobody likes a litter bug
- if [ $result -eq 0 -a -d "${PKG_CACHEDIR}/All" ] ; then
- echo -e "Cleaning up cache files..\c"
- rm -rf "${PKG_CACHEDIR}/All"
- echo -e "Done"
- fi
-
# Make sure we run extract-overlay again
pc-extractoverlay ports >/dev/null 2>/dev/null

0 comments on commit e1a11d4

Please sign in to comment.