Changeset 2789


Ignore:
Timestamp:
Jun 15, 2003, 12:42:46 AM (17 years ago)
Author:
landonf (Landon Fuller)
Message:

Remove pkgIndex file version-specific installed darwinports1.0 packages, easing upgrade woes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/Makefile

    r2775 r2789  
    11SRCS=           darwinports.tcl darwinports_dlist.tcl
    22INSTALLDIR=     ${TCL_PACKAGE_DIR}/darwinports1.0
     3DARWIN_OLD_PKGINDEX=${TCL_PACKAGE_DIR}/8.3/darwinports1.0/pkgIndex.tcl
    34
    45include ../../Mk/dports.mk
     
    1718        done
    1819        @../pkg_mkindex.tcl ${INSTALLDIR}
     20# XXX Prior installations of dports on Darwin installed darwinports1.0 in a version-specific Tcl path
     21        @if test ${TCL_PACKAGE_DIR} -ef "/System/Library/Tcl" ; then \
     22                if test -f ${DARWIN_OLD_PKGINDEX}; then \
     23                        set -x; \
     24                        rm ${DARWIN_OLD_PKGINDEX}; \
     25                fi \
     26        fi
Note: See TracChangeset for help on using the changeset viewer.