diff options
| author | hibby <d@vehibberd.com> | 2018-02-10 20:19:10 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-10 21:35:08 +0000 |
| commit | 534a7937e8e96ed60bec1028dd64cb1b2dfb8587 (patch) | |
| tree | 6c9b67f61077b170381509a7283397e8094bb269 /debian/patches/non-interactive-install.patch | |
| parent | aa9cd7a4e78e8c46dcfdc29fd0edb229119ff91a (diff) | |
Restoring non interactive mode configure
Diffstat (limited to 'debian/patches/non-interactive-install.patch')
| -rw-r--r-- | debian/patches/non-interactive-install.patch | 18 |
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 "$@" |
