summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaud@preev.io>2017-05-11 15:47:43 +0700
committerArnaud Rebillout <arnaud@preev.io>2017-05-11 15:47:52 +0700
commit0b19e284ec0d3aecd32646d4472c603824b362c0 (patch)
tree9a982bd80aff8f4123af91b9c2803aa26792b11c
parentee2bf5ee8cdf5dca25f48e11bb4487055056b111 (diff)
Use cat instead of echo for apt retries configuration (for consistency)
-rwxr-xr-xvagrant/definitions/tails-builder/postinstall.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/vagrant/definitions/tails-builder/postinstall.sh b/vagrant/definitions/tails-builder/postinstall.sh
index 491d817..d3d2c59 100755
--- a/vagrant/definitions/tails-builder/postinstall.sh
+++ b/vagrant/definitions/tails-builder/postinstall.sh
@@ -27,7 +27,9 @@ cat > /etc/apt/apt.conf.d/99recommends << EOF
APT::Install-Recommends "false";
APT::Install-Suggests "false";
EOF
-echo 'APT::Acquire::Retries "20";' > /etc/apt/apt.conf.d/99retries
+cat > /etc/apt/apt.conf.d/99retries << EOF
+APT::Acquire::Retries "20";
+EOF
echo "I: Install Tails APT repo signing key."
apt-key add /tmp/tails.binary.gpg