Diff

Differences From Artifact [60c35bda95]:

To Artifact [d81f339499]:


   305    305   
   306    306   		return COMPLETE
   307    307   	}
   308    308   
   309    309   	proc getpkgmanifest {hostname package_sha1} {
   310    310   		set haveManifest [db onecolumn {SELECT haveManifest FROM packages WHERE sha1 = $package_sha1 LIMIT 1;}]
   311    311   
   312         -		if {$haveManifest} {
          312  +		if {$haveManifest == "1"} {
   313    313   			return COMPLETE
   314    314   		}
   315    315   
   316    316   		if {![_isHash $package_sha1]} {
   317    317   			return FAIL
   318    318   		}
   319    319