From 0cdf8473e542ca6e54c7afe6d68e85e3727f0e88 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Tue, 13 Mar 2012 17:09:59 +0900 Subject: factor out common code for apt key rings. --- pbuilder-updatebuildenv | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'pbuilder-updatebuildenv') diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 084528e..fd2cb59 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -74,12 +74,7 @@ $CHROOTEXEC /usr/bin/apt-get -q -y "${APTGETOPT[@]}" install \ dpkg-dev \ $EXTRAPACKAGES save_aptcache - -# To support package verification inside the repository we may have to import -# additional keys. -for KEY in "${APTKEYRINGS[@]}"; do - $CHROOTEXEC /usr/bin/apt-key add - < "${KEY}" > /dev/null -done +add_additional_aptkeyrings # optionally auto-clean apt-cache if [ "${AUTOCLEANAPTCACHE}" = "yes" -a -n "$APTCACHE" ]; then -- cgit v1.2.3