1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 03_grml_version_file_hook.dpatch by <mika@grml.org>
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Copy /etc/grml_version to initrd
10 ===================================================================
11 --- a/hooks/live 2011-07-24 22:07:22.000000000 +0200
12 +++ b/hooks/live 2011-07-24 22:07:55.000000000 +0200
17 +# Grml version information:
18 +if [ -r /etc/grml_version ]
20 + cp /etc/grml_version "${DESTDIR}"/etc
25 [ "${QUIET}" ] || echo -n " "core