summaryrefslogtreecommitdiffstats
path: root/bin/update-db
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2005-09-22 12:00:31 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2005-09-22 12:00:31 +0000
commit97ec8729f5adc0041473794d5f4fcc41dee226ee (patch)
tree2adfac1933095b6a34a1ce58acd4ac221c73cabb /bin/update-db
parent0d15785e156c0a7fde446fe7102d65617ef86bf6 (diff)
lib/python/security_db.py (DB.initSchema):
Add removed_packages table. (DB.readRemovedPackages, DB.getUnknownPackages): New. bin/update-db: Read removed packages. data/packages/removed-packages: New file. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2088 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/update-db')
-rwxr-xr-xbin/update-db4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update-db b/bin/update-db
index 0c732cd4cb..b990ce8430 100755
--- a/bin/update-db
+++ b/bin/update-db
@@ -57,6 +57,10 @@ if new_file:
db.commit(cursor)
cursor = db.writeTxn()
+# Removed packages
+
+db.readRemovedPackages(cursor, 'data/packages/removed-packages')
+
# Calculate vulnerability information.
warnings = db.calculateVulnerabilities(cursor)

© 2014-2024 Faster IT GmbH | imprint | privacy policy