Diff

Differences From Artifact [6f6d010e1e]:

To Artifact [7f053ee293]:


   606    606   
   607    607   		set localcachefile [download $pathinfo(hostname) $pkgpathinfo(file_sha1)]
   608    608   
   609    609   		if {$mode == "write"} {
   610    610   			set tmplocalpath "${localpath}.[expr rand()][clock clicks]"
   611    611   
   612    612   			catch {
          613  +				file mkdir [file dirname $localpath]
   613    614   				file copy -force -- $localcachefile $tmplocalpath
   614    615   
   615    616   				if {$pkgpathinfo(perms) == "x"} {
   616    617   					file attributes $tmplocalpath -permissions +x
   617    618   				}
   618    619   
   619    620   				file rename -force -- $tmplocalpath $localpath