Diff

Differences From Artifact [d81f339499]:

To Artifact [5efeea4271]:


   449    449   						set retval(_type) os-cpu
   450    450   
   451    451   						if {$pathlen > 3} {
   452    452   							set retval(version) [lindex $path 3]
   453    453   							set retval(_children) files
   454    454   							set retval(_type) versions
   455    455   
   456         -							set retval(package_sha1) [::appfs::db onecolumn {SELECT sha1 FROM packages WHERE hostname = $retval(hostname) AND os = $retval(os) AND cpuArch = $retval(cpu) AND version = $retval(version);}]
          456  +							set retval(package_sha1) [::appfs::db onecolumn {SELECT sha1 FROM packages WHERE hostname = $retval(hostname) AND package = $retval(package) AND os = $retval(os) AND cpuArch = $retval(cpu) AND version = $retval(version);}]
   457    457   							if {$retval(package_sha1) == ""} {
   458    458   								set retval(_children) dead
   459    459   								return [array get retval]
   460    460   							}
   461    461   
   462    462   							if {$pathlen > 4} {
   463    463   								set retval(_type) files