summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2009-12-29 21:49:26 +0000
committerSteve Dibb <beandog@gentoo.org>2009-12-29 21:49:26 +0000
commit936f0c8b6624799f3a56fc020e7a25672faf9010 (patch)
tree2cabbc9b0b76055299e9a7f6c0c2ebb137565073 /import.ebuild_metadata.php
parentuse db classes from znurt (diff)
downloadznurt-org-backend-936f0c8b6624799f3a56fc020e7a25672faf9010.tar.gz
znurt-org-backend-936f0c8b6624799f3a56fc020e7a25672faf9010.tar.bz2
znurt-org-backend-936f0c8b6624799f3a56fc020e7a25672faf9010.zip
Update package description
git-svn-id: file:///var/svn/portage@22 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
Diffstat (limited to 'import.ebuild_metadata.php')
-rw-r--r--import.ebuild_metadata.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/import.ebuild_metadata.php b/import.ebuild_metadata.php
index 94c677f..d919bd0 100644
--- a/import.ebuild_metadata.php
+++ b/import.ebuild_metadata.php
@@ -1,7 +1,7 @@
<?
- $verbose = true;
- $qa = true;
+// $verbose = true;
+// $qa = true;
// $debug = true;
@@ -50,4 +50,8 @@
}
+ // Set the new package descriptions
+ $sql = "UPDATE package SET description = (SELECT description FROM view_package_description vpd WHERE vpd.package = package.id);";
+ $db->query($sql);
+
?> \ No newline at end of file