diff options
author | dteske <dteske@FreeBSD.org> | 2013-07-05 01:32:39 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-07-05 01:32:39 +0000 |
commit | 7b1053a0cd3abb506cc9b6086918fb299ef7c28d (patch) | |
tree | 31f918144d10ceaa4e5f845cf9c013539d909c7e /usr.sbin | |
parent | 88c7fca8dcd9bdf9b9e188d198028e91241272ac (diff) | |
download | FreeBSD-src-7b1053a0cd3abb506cc9b6086918fb299ef7c28d.zip FreeBSD-src-7b1053a0cd3abb506cc9b6086918fb299ef7c28d.tar.gz |
Remove separate processing of dependent packages from the "Review" screen
since f_package_add (packageAdd resword) processes dependencies itself.
NOTE: This is in preparation for incoming package management code.
Diffstat (limited to 'usr.sbin')
-rwxr-xr-x | usr.sbin/bsdconfig/share/packages/packages.subr | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/usr.sbin/bsdconfig/share/packages/packages.subr b/usr.sbin/bsdconfig/share/packages/packages.subr index de31dfb..a5603c4 100755 --- a/usr.sbin/bsdconfig/share/packages/packages.subr +++ b/usr.sbin/bsdconfig/share/packages/packages.subr @@ -620,23 +620,14 @@ f_package_review() # # Process each of the selected packages: - # + First, process dependencies. - # + Second, process packages marked for Install. - # + Third, process packages marked for Re-install. + # + First, process packages marked for Install. + # + Second, process packages marked for Re-install. # + Finally, process packages marked for Uninstall. # for package in $SELECTED_PACKAGES; do mark= f_str2varname "$package" varpkg f_getvar _mark_$varpkg mark - [ "$mark" = "D" ] || continue - # XXX Install dependency - f_package_deselect "$package" - done - for package in $SELECTED_PACKAGES; do - mark= - f_str2varname "$package" varpkg - f_getvar _mark_$varpkg mark [ "$mark" = "I" ] || continue # XXX Install package f_package_deselect "$package" |