aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2012-03-13 17:09:59 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2012-03-13 17:09:59 +0900
commit0cdf8473e542ca6e54c7afe6d68e85e3727f0e88 (patch)
treed7cf4892abc05734057637f65036ea119d890963 /pbuilder-updatebuildenv
parentf98a5e375b5a28527d1da04b03fe292def5a9a53 (diff)
downloadpbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar
pbuilder-0cdf8473e542ca6e54c7afe6d68e85e3727f0e88.tar.gz
factor out common code for apt key rings.
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv7
1 files changed, 1 insertions, 6 deletions
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