aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-createbuildenv2
-rwxr-xr-xpbuilder-updatebuildenv2
2 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 7f579d2..39f3c31 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -93,7 +93,7 @@ log "I: Refreshing the base.tgz "
log "I: upgrading packages"
mountproc
$TRAP umountproc_cleanbuildplace_trap exit sighup
-$CHROOTEXEC /usr/bin/apt-get -q update
+$CHROOTEXEC /usr/bin/apt-get -q "${APTGETOPT[@]}" update
case "$(readlink -e "$PBUILDERSATISFYDEPENDSCMD")" in
*-aptitude)
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index ff5a1c4..f0441eb 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -37,7 +37,7 @@ $TRAP umountproc_cleanbuildplace_trap exit sighup
log "I: Refreshing the base.tgz "
log "I: upgrading packages"
-$CHROOTEXEC /usr/bin/apt-get -q update
+$CHROOTEXEC /usr/bin/apt-get -q "${APTGETOPT[@]}" update
# automatically add packages needed for optional features to the chroot