summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-22 12:24:20 +0000
committerrillig <rillig@pkgsrc.org>2007-01-22 12:24:20 +0000
commit70259785affea84912bc585a41d0007a7f06b2b8 (patch)
tree402c32a8de8e5ed2ffe83591131053e0e7646add /bootstrap
parentc25a64ced5cd38764f59c103b0e2aebe7bc4043d (diff)
downloadpkgsrc-70259785affea84912bc585a41d0007a7f06b2b8.tar.gz
A big cleanup:
- The "header" of the build log is always printed, not only when PRECLEAN is set. - The variable "installed" was redundant. Removing it saves 5 lines of code. - When the package is outdated and currently installed, it suffices to just run pkg_delete. The "make deinstall" is too expensive and doesn't do anything further. - Completely rewrote the section that deinstalls unneeded packages. It seems to me that the pkg_info -Q flag has been introduced after the bulk build was initially written, so it wasn't used here. - A package that doesn't get deinstalled with a simple pkg_delete probably has a reason for that. Don't try to run pkg_delete -f after it. - To remove all packages, it isn't necessary to iterate over the installed packages. Just pkg_delete -r "*". - Replaced "required package" with "dependency" in the log messages, since that is shorter. Maybe the term "required package" comes from the time where packages also depended on shared library versions, so that terminology made sense back in 2000. Anyway, that's long ago.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions