=== src/darwinports1.0/darwinports.tcl
==================================================================
|
|
|
1671 | 1671 | |
1672 | 1672 | # install version_in_tree |
1673 | 1673 | if {0 == [string compare "yes" ${darwinports::portarchivemode}]} { |
1674 | | set upgrade_action "unarchive" |
| 1674 | set upgrade_action "archive" |
1675 | 1675 | } else { |
1676 | 1676 | set upgrade_action "destroot" |
1677 | 1677 | } |
=== src/package1.0/portarchive.tcl
==================================================================
|
|
|
101 | 101 | if {[catch {archiveTypeIsSupported ${archive.type}} errmsg] == 0} { |
102 | 102 | set archive.file "${portname}-${portversion}_${portrevision}${portvariants}.[option os.arch].${archive.type}" |
103 | 103 | set archive.path "[file join ${archive.destpath} ${archive.file}]" |
| 104 | if {[file exists ${archive.path}${archive.file} } { |
| 105 | set skipped 1 |
| 106 | } else { |
| 107 | set skipped 0 |
| 108 | } |
104 | 109 | } else { |
105 | 110 | ui_debug "Skipping [string toupper ${archive.type}] archive: $errmsg" |
106 | 111 | set unsupported [expr $unsupported + 1] |