packages.patch
| collect.php 2008-02-01 22:53:25.000000000 -0500 | ||
|---|---|---|
| 551 | 551 |
$pkg_id = $pkg_db["id"]; |
| 552 | 552 |
} else {
|
| 553 | 553 |
# if it doesn't exist, insert a new entry into the pkg table and set pkg_id |
| 554 |
query_db("INSERT INTO pkg (`id`,`name`,`arch`,`version`,`release`) VALUES (NULL,'$name','$arch','$version', . ($release ? $release : NULL) . )");
|
|
| 554 |
$db_string="INSERT INTO pkg (`id`,`name`,`arch`,`version`,`release`) VALUES (NULL,'$name','$arch','$version','" . ($release ? $release : NULL) . "')"; |
|
| 555 |
#echo "Running $db_string \n"; |
|
| 556 |
query_db($db_string); |
|
| 555 | 557 |
echo "N"; |
| 556 | 558 |
$pkg_id = mysql_insert_id(); |
| 557 | 559 |
} |
| 558 | 560 | |