Update changelog.
[live-initramfs-grml.git] / debian / patches / 13_always_display_warnings_and_failures.dpatch
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 --- live-initramfs-grml~/scripts/live-functions 2010-02-20 16:03:43.155342432 +0100
9 +++ live-initramfs-grml/scripts/live-functions  2010-02-20 16:04:08.675380352 +0100
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