Skip to content
Permalink
Browse files

use platform-specific index from daily tarball

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@68786 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Jun 13, 2010
1 parent 9a3f2f6 commit 0df0ceff8b45041c799ba3bf831f78170b0502d9
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/macports1.0/macports.tcl
@@ -1942,7 +1942,7 @@ proc mportsync {{optionslist {}}} {
continue
}

file mkdir [file dirname $indexfile]
file mkdir $destdir

set verboseflag {}
if {$macports::portverbose == "yes"} {
@@ -1976,6 +1976,11 @@ proc mportsync {{optionslist {}}} {
ui_warn "Setting world read permissions on parts of the ports tree failed, need root?"
}

set platindex "PortIndex_${macports::os_platform}_${macports::os_major}_${macports::os_arch}/PortIndex"
if {[file isfile ${destdir}/${platindex}] && [file isfile ${destdir}/${platindex}.quick]} {
file rename -force "${destdir}/${platindex}" "${destdir}/${platindex}.quick" $destdir
}

file delete $tarpath

set needs_portindex 1

0 comments on commit 0df0cef

Please sign in to comment.
You can’t perform that action at this time.