Diff

Differences From Artifact [8c1638de2d]:

To Artifact [139f21791e]:


   151    151   	# Perform expected initialization
   152    152   	uplevel #0 [list source [file join $tcl_library init.tcl]]
   153    153     
   154    154   	# reset auto_path, so that init.tcl's search outside of tclkit is cancelled
   155    155   	set auto_path $tcl_libPath
   156    156   
   157    157   	# Update Tcl Module system as well
   158         -	tcl::tm::path remove {*}[tcl::tm::path list]
   159         -	tcl::tm::roots [file join $::starkit::tclkitroot lib]
          158  +	if {[info command ::tcl::tm::path] ne ""} {
          159  +		tcl::tm::path remove {*}[tcl::tm::path list]
          160  +		tcl::tm::roots [file join $::starkit::tclkitroot lib]
          161  +	}
   160    162   
   161    163   	if {$::TCLKIT_TYPE == "kitdll"} {
   162    164   		# Set a maximum seek to avoid reading the entire file looking for a
   163    165   		# zip header
   164    166   		catch { 
   165    167   			package require vfs::zip
   166    168   			set ::zip::max_header_seek 8192