Ignore:
Timestamp:
Mar 20, 2010, 2:39:25 PM (8 years ago)
Author:
jmr@…
Message:

delete any old macports1.0 dir in postflight script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/portmgr/dmg/postflight

    r65055 r65056  
    118118# link macports1.0 into tcl package dir if possible
    119119function link_tcl_package {
     120    # delete old directory if present
     121    if test -d "${TCL_PACKAGE_DIR}/macports1.0"; then
     122        rm -vrf "${TCL_PACKAGE_DIR}/macports1.0" || true
     123    fi
    120124    if ! test -e "${TCL_PACKAGE_DIR}/macports1.0" && test -w "${TCL_PACKAGE_DIR}"; then
    121125                ln -vs "${MACPORTS_TCL_DIR}/macports1.0" "${TCL_PACKAGE_DIR}/macports1.0" || true
Note: See TracChangeset for help on using the changeset viewer.