diff options
author | dteske <dteske@FreeBSD.org> | 2013-07-05 06:24:18 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-07-05 06:24:18 +0000 |
commit | 3ce89a79794bc0537fcfc173082ea3701b4a4b22 (patch) | |
tree | 4f5ef00d47e2f4a5063c9669a24c8c1cd736c267 | |
parent | e6d392abc674e474fd78414367e591a032a7fccf (diff) | |
download | FreeBSD-src-3ce89a79794bc0537fcfc173082ea3701b4a4b22.zip FreeBSD-src-3ce89a79794bc0537fcfc173082ea3701b4a4b22.tar.gz |
Prevent f_package_add() from re-performing f_package_detect_installed()
even though f_package_config() may have already detected the installed
packages.
-rwxr-xr-x | usr.sbin/bsdconfig/share/packages/packages.subr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/share/packages/packages.subr b/usr.sbin/bsdconfig/share/packages/packages.subr index dfe1513..dbb88fd 100755 --- a/usr.sbin/bsdconfig/share/packages/packages.subr +++ b/usr.sbin/bsdconfig/share/packages/packages.subr @@ -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 |