3434# set -x
3535
3636# Script identification:
37- VERSION=2.10
37+ VERSION=2.12
3838
3939# Abstraction variables:
4040PREFIX=" @prefix@"
@@ -54,30 +54,21 @@ OUR_STRING="${OUR_BASESTRING} on ${TIMESTAMP}"
5454
5555OLD_MACPORTS_TCL_DIR=${PREFIX} /share/macports/Tcl
5656OLD_TCL_PACKAGE_DIR=/Library/Tcl
57- OLD_TCL_FILES=" tcl8/8.4/http-2.7.12.tm tcl8/8.4/http-2.7.13.tm \
58- tcl8/8.6/http-2.9.5.tm \
59- tcl8/8.4/platform-1.0.12.tm tcl8/8.4/platform-1.0.13.tm \
60- tcl8/8.4/platform-1.0.14.tm tcl8/8.4/platform-1.0.18.tm \
61- tcl8/8.5/msgcat-1.5.2.tm \
62- tcl8/8.5/tcltest-2.3.5.tm tcl8/8.5/tcltest-2.3.8.tm \
63- tcl8/8.5/tcltest-2.5.3.tm tcl8/8.5/tcltest-2.5.5.tm \
64- tcl8/8.5/tcltest-2.5.7.tm tcl8/8.5/tcltest-2.5.8.tm \
65- tcl8/8.5/tcltest-2.5.9.tm \
66- tcl8/8.6/tdbc/sqlite3-1.1.3.tm tcl8/8.6/tdbc/sqlite3-1.1.5.tm \
67- tcl8/8.6/tdbc/sqlite3-1.1.7.tm tcl8/8.6/tdbc/sqlite3-1.1.9.tm \
68- tcl8/8.6/tdbc/sqlite3-1.1.9.uuid tcl8/8.6/tdbc/sqlite3-1.1.10.tm \
69- tcl8/8.6/tdbc/sqlite3-1.1.10.uuid \
70- libtcl8.5.dylib libtclstub8.5.a"
57+ OLD_TCL_FILES=" libtcl8.5.dylib libtclstub8.5.a libtcl8.6.dylib \
58+ libtclstub8.6.a"
7159OLD_VENDOR_DIRS=" thread2.7.0 thread2.7.2 thread2.7.3 thread2.8.7 \
72- thread2.8.8 thread2.8.9 thread2.8.10 thread2.8.11 \
73- tcllib1.15 tcllib1.17 tcllib1.18 tcllib1.21 tclx8.4 tcl8.5 \
74- itcl4.2.2 itcl4.2.3 itcl4.2.4 itcl4.3.0 itcl4.3.2 \
60+ thread2.8.8 thread2.8.9 thread2.8.10 thread2.8.11 thread2.8.12 \
61+ tcllib1.15 tcllib1.17 tcllib1.18 tcllib1.21 tclx8.4 tclx8.6 \
62+ tcl8 tcl8.5 tcl8.6 \
63+ itcl4.2.2 itcl4.2.3 itcl4.2.4 itcl4.3.0 itcl4.3.2 itcl4.3.4 \
7564sqlite3.36.0 sqlite3.40.0 sqlite3.44.2 sqlite3.45.3 sqlite3.47.2 \
65+ sqlite3.50.4 \
7666tdbc1.1.3 tdbcmysql1.1.3 tdbcodbc1.1.3 tdbcpostgres1.1.3 \
7767tdbc1.1.5 tdbcmysql1.1.5 tdbcodbc1.1.5 tdbcpostgres1.1.5 \
7868tdbc1.1.7 tdbcmysql1.1.7 tdbcodbc1.1.7 tdbcpostgres1.1.7 \
7969tdbc1.1.9 tdbcmysql1.1.9 tdbcodbc1.1.9 tdbcpostgres1.1.9 \
80- tdbc1.1.10 tdbcmysql1.1.10 tdbcodbc1.1.10 tdbcpostgres1.1.10"
70+ tdbc1.1.10 tdbcmysql1.1.10 tdbcodbc1.1.10 tdbcpostgres1.1.10\
71+ tdbc1.1.12 tdbcmysql1.1.12 tdbcodbc1.1.12 tdbcpostgres1.1.12"
8172
8273# Create config files from defaults if not present
8374function setup_configs {
@@ -177,6 +168,10 @@ function delete_old_tcl_packages {
177168 if [[ -f " ${oldtclsh} " ]]; then
178169 rm -vf " ${oldtclsh} "
179170 fi
171+ oldtclsh=" $( dirname " ${TCLSH} " ) /tclsh8.6"
172+ if [[ -f " ${oldtclsh} " ]]; then
173+ rm -vf " ${oldtclsh} "
174+ fi
180175}
181176
182177# create the user to use for privilege dropping
0 commit comments