aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-12 20:00:39 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-11-12 20:01:12 +0000
commit81aa5b61afed5296a5845a3ccab81c390fda43b9 (patch)
treea9bf9c6e5db325c7ec2049a4520a783c82839ea5 /pbuilder-createbuildenv
parent6b9210150fe78984d81b705e981bf3f97d0f5ad0 (diff)
downloadpbuilder-81aa5b61afed5296a5845a3ccab81c390fda43b9.tar
pbuilder-81aa5b61afed5296a5845a3ccab81c390fda43b9.tar.gz
{create,update}buildenv: consider APTGETOPT also when running apt-get update
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv2
1 files changed, 1 insertions, 1 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)