Use quilt instead of dpatch
[live-boot-grml.git] / debian / patches / 03_grml_version_file_hook.patch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 03_grml_version_file_hook.dpatch by <mika@grml.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Copy /etc/grml_version to initrd
6
7 @DPATCH@
8
9 --- a/hooks/live
10 +++ b/hooks/live
11 @@ -40,6 +40,12 @@
12         done
13  fi
14  
15 +# Grml version information:
16 +if [ -r /etc/grml_version ]
17 +then
18 +       cp /etc/grml_version "${DESTDIR}"/etc
19 +fi
20 +
21  # Handling live-boot
22  
23  [ "${QUIET}" ] || echo -n " "core