[pbuilder] 01/02: modules: add_additional_aptkeyrings: be sure /etc/apt/trusted.gpg.d is present

Mattia Rizzolo mattia at debian.org
Sat Sep 10 12:45:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit 61e8012cb25f6c2c6dc872cf82d348da99800ba5
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Sep 10 12:44:35 2016 +0000

    modules: add_additional_aptkeyrings: be sure /etc/apt/trusted.gpg.d is present
    
    Gbp-Dch: Ignore
---
 pbuilder-modules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pbuilder-modules b/pbuilder-modules
index 408f59a..52326ab 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -805,6 +805,7 @@ function add_additional_aptkeyrings() {
             exit 1
         fi
         dest="${BUILDPLACE}/etc/apt/trusted.gpg.d/${filename}"
+        mkdir -p "${BUILDPLACE}/etc/apt/trusted.gpg.d"
         log.i "copying apt key file ${KEY} to ${dest}"
         if [ -f "${dest}" ]; then
             if cmp -s "${KEY}" "${dest}" ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list