Changeset 79171
- Timestamp:
- 06/03/11 22:18:44 (4 years ago)
- File:
-
- 1 edited
-
contrib/restore_ports/restore_ports.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
contrib/restore_ports/restore_ports.tcl
r78085 r79171 185 185 # XXX some ports may be reactivated to fulfil dependencies - check again at the end? 186 186 if {!$active} { 187 if {[catch {portimage::deactivate $name "" [list ports_nodepcheck 1]} result]} { 188 global errorInfo 189 ui_debug "$errorInfo" 190 return -code error "port deactivate failed: $result" 187 if {[llength [info commands "portimage::deactivate_composite"]] == 1} { 188 if {[catch {portimage::deactivate $name "" "" 0 [list ports_nodepcheck 1]} result]} { 189 global errorInfo 190 ui_debug "$errorInfo" 191 return -code error "port deactivate failed: $result" 192 } 193 } else { 194 if {[catch {portimage::deactivate $name "" [list ports_nodepcheck 1]} result]} { 195 global errorInfo 196 ui_debug "$errorInfo" 197 return -code error "port deactivate failed: $result" 198 } 191 199 } 192 200 }
Note: See TracChangeset
for help on using the changeset viewer.

