Prevent f_package_add() from re-performing f_package_detect_installed()

even though f_package_config() may have already detected the installed
packages.
This commit is contained in:
Devin Teske 2013-07-05 06:24:18 +00:00
parent 35925de7b6
commit 384190f25b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252773

View File

@ -681,6 +681,7 @@ f_package_config()
# Detect installed packages (updates marks/SELECTED_PACKAGES)
f_package_detect_installed
export PACKAGES_DETECTED=1 # exported for awk(1) ENVIRON[]
local retval category varcat defaultitem category_defaultitem=""
while :; do