]> git.decadent.org.uk Git - dak.git/commitdiff
security install
authorJoerg Jaspert <joerg@debian.org>
Thu, 12 Feb 2009 22:04:36 +0000 (23:04 +0100)
committerJoerg Jaspert <joerg@debian.org>
Thu, 12 Feb 2009 22:04:36 +0000 (23:04 +0100)
oh well, use a wrapper.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian-security/map.sh [new file with mode: 0755]
dak/new_security_install.py

diff --git a/config/debian-security/map.sh b/config/debian-security/map.sh
new file mode 100755 (executable)
index 0000000..d0cbaf4
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+dak make-pkg-file-mapping | bzip2 -9 > /org/security.debian.org/ftp/indices/package-file.map.bz2
index 12bef381796e5526a8b5873d118ff12f8cc96c84..c72641a2236b71f43ee0cf6867f18710e1af3f98 100755 (executable)
@@ -474,7 +474,7 @@ def _do_Approve():
     print "Updating file lists for apt-ftparchive..."
     spawn("dak make-suite-file-list")
     print "Updating Packages and Sources files..."
-    spawn("dak make-pkg-file-mapping | bzip2 -9 > /org/security.debian.org/ftp/indices/package-file.map.bz2")
+    spawn("/org/security.debian.org/dak/config/debian-security/map.sh")
     spawn("apt-ftparchive generate %s" % (utils.which_apt_conf_file()))
     print "Updating Release files..."
     spawn("dak generate-releases")