[tracker-oci-images/sam/asciidoc-fix: 5/5] Disable interactive prompts in Ubuntu build



commit 5c9e5faf2a052c06801064cdcadcc230de43fade
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Apr 5 19:29:13 2020 +0200

    Disable interactive prompts in Ubuntu build

 debian/prepare.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/debian/prepare.sh b/debian/prepare.sh
index 51c3a19..c0e920a 100644
--- a/debian/prepare.sh
+++ b/debian/prepare.sh
@@ -2,8 +2,10 @@
 
 set -ex
 
-# Enable source repositories so we can use `apt-get build-dep`
+# Avoid interactive prompts!
+export DEBIAN_FRONTEND=noninteractive
 
+# Enable source repositories so we can use `apt-get build-dep`
 sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
 apt-get -yq update && apt-get -yq upgrade
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]