Changeset 79518
- Timestamp:
- 06/16/11 07:33:19 (4 years ago)
- File:
-
- 1 edited
-
trunk/base/src/registry2.0/portuninstall.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/registry2.0/portuninstall.tcl
r79517 r79518 114 114 # uninstall dependents if requested 115 115 if {[info exists options(ports_uninstall_follow-dependents)] && $options(ports_uninstall_follow-dependents) eq "yes"} { 116 # don't uninstall dependents' dependencies 117 if {[info exists options(ports_uninstall_follow-dependencies)]} { 118 set orig_follow_dependencies $options(ports_uninstall_follow-dependencies) 119 unset options(ports_uninstall_follow-dependencies) 120 set optionslist [array get options] 121 } 116 122 foreach depport [$port dependents] { 117 123 # make sure it's still installed, since a previous dep uninstall may have removed it … … 121 127 } 122 128 } 129 } 130 if {[info exists orig_follow_dependencies]} { 131 set options(ports_uninstall_follow-dependencies) $orig_follow_dependencies 132 set optionslist [array get options] 123 133 } 124 134 } else { … … 212 222 # uninstall dependencies if requested 213 223 if {[info exists options(ports_uninstall_follow-dependencies)] && [string is true -strict $options(ports_uninstall_follow-dependencies)]} { 224 # don't uninstall dependencies' dependents 225 if {[info exists options(ports_uninstall_follow-dependents)]} { 226 unset options(ports_uninstall_follow-dependents) 227 set optionslist [array get options] 228 } 214 229 while 1 { 215 230 set remaining_list {}
Note: See TracChangeset
for help on using the changeset viewer.

