summaryrefslogtreecommitdiff
path: root/debian/patches/non-interactive-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/non-interactive-install.patch')
-rw-r--r--debian/patches/non-interactive-install.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/non-interactive-install.patch b/debian/patches/non-interactive-install.patch
new file mode 100644
index 0000000..68a2d9b
--- /dev/null
+++ b/debian/patches/non-interactive-install.patch
@@ -0,0 +1,18 @@
+Description: Remove interactive mode from configure, speed up build
+Author: Dave Hibberd <d@vehibberd.com>
+Last-Update: 2018-02-10
+
+--- a/configure
++++ b/configure
+@@ -1,11 +1,5 @@
+ #!/bin/sh
+
+-echo -n "Use interactive mode? [Y/n]: "; read answer
+-if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
+- then NON_INTERACTIVE=0;
+- else NON_INTERACTIVE=1;
+-fi
+-
+ _sleep()
+ {
+ [ "$NON_INTERACTIVE" = 1 ] || sleep "$@"