summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkralo <kralo@users.noreply.github.com>2022-10-14 15:48:30 +0200
committerGitHub <noreply@github.com>2022-10-14 14:48:30 +0100
commitf00b72208cf73a6ed0ab20c16e28c5dbad04a3d7 (patch)
tree0746124ae8420509d054deae10d32b5a3e00caa4
parent4da039215b162cf4a6a670340728377f5ddb5a18 (diff)
apt/retries: specify option from the Acquire group (#638)
per man apt.conf, Acquire group is not part of the apt group
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 135da35..ea96633 100755
--- a/build.sh
+++ b/build.sh
@@ -21,7 +21,7 @@ EOF
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages-nr")"
if [ -n "$PACKAGES" ]; then
on_chroot << EOF
-apt-get -o APT::Acquire::Retries=3 install --no-install-recommends -y $PACKAGES
+apt-get -o Acquire::Retries=3 install --no-install-recommends -y $PACKAGES
EOF
if [ "${USE_QCOW2}" = "1" ]; then
on_chroot << EOF
@@ -36,7 +36,7 @@ EOF
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages")"
if [ -n "$PACKAGES" ]; then
on_chroot << EOF
-apt-get -o APT::Acquire::Retries=3 install -y $PACKAGES
+apt-get -o Acquire::Retries=3 install -y $PACKAGES
EOF
if [ "${USE_QCOW2}" = "1" ]; then
on_chroot << EOF