RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port1.0/portuninstall.tcl,v
retrieving revision 1.30
diff -u -r1.30 portuninstall.tcl
|
|
|
126 | 126 | } |
127 | 127 | } |
128 | 128 | if {!$uninst_err || [tbool uninstall.force]} { |
129 | | if {[regexp .bz2$ $rfile]} { |
130 | | regsub {.bz2$} $rfile {} r_file |
131 | | set r_version [lindex [split $r_file -] 1] |
132 | | } else { |
133 | | set r_version [lindex [split $rfile -] 1] |
134 | | } |
135 | | registry_delete $portname $r_version |
136 | | return 0 |
| 129 | registry_delete $portname |
| 130 | return 0 |
137 | 131 | } |
138 | 132 | } else { |
139 | 133 | return -code error [msgcat::mc "Uninstall failed: Port has no contents entry"] |