1){ $k = trim($parts[0]); $v = trim($parts[1]); if($k == "Package"){ $thispkg = $v; } if($k == "Filename"){ if(array_search($thispkg, $packages) !== FALSE){ $debs[] = "".substr($v, 2).""; $nfiles++; } $parts = Array(); if(preg_match("/etvd_([^_]+)_/", $v, $parts)){ $main_version = $parts[1]; } } } } $zip = "etvd-em-bundle-$main_version.zip"; $compact = "etvd-em-compact-$main_version.zip"; print "

complete: $zip

"; print "

compact: $compact

"; print ""; print "
$nfiles files
"; print "