Fix patch offsets for quilt patches
[live-boot-grml.git] / debian / patches / 13_always_display_warnings_and_failures.patch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 13_always_display_warnings_and_failures.dpatch by Michael Prokop <mika@grml.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Always display failure and warning messages.
6
7 @DPATCH@
8 --- a/scripts/live-functions
9 +++ b/scripts/live-functions
10 @@ -2,6 +2,17 @@
11  . /scripts/functions
12  . /live.vars
13  
14 +# we definitely want this stuff visible
15 +log_failure_msg()
16 +{
17 +        printf "Failure: $@\n"
18 +}
19 +
20 +log_warning_msg()
21 +{
22 +        printf "Warning: $@\n"
23 +}
24 +
25  log_wait_msg ()
26  {
27         # Print a message and wait for enter