From 7bf26d686e5c4588c2cca1f78bfb6d5ab4b9333f Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 11 Sep 2019 14:59:55 -0400 Subject: plymouth 0.9.4 without systemd --- plymouth/debian/patches/0001-awk.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 plymouth/debian/patches/0001-awk.patch (limited to 'plymouth/debian/patches/0001-awk.patch') diff --git a/plymouth/debian/patches/0001-awk.patch b/plymouth/debian/patches/0001-awk.patch new file mode 100644 index 0000000..5d62d95 --- /dev/null +++ b/plymouth/debian/patches/0001-awk.patch @@ -0,0 +1,22 @@ +Author: Daniel Baumann +Description: Hack to fix awk call. + +--- a/scripts/plymouth-set-default-theme.in ++++ b/scripts/plymouth-set-default-theme.in +@@ -45,15 +45,7 @@ function list_themes () + function read_theme_name_from_file () + { + echo $(grep -v '^#' $1 2> /dev/null | +- awk ' +- BEGIN { +- RS="[[][[:blank:]]*[^[:space:]]+[:blank:]*[]\n]"; +- FS="[=[:space:]]+"; +- OFS=""; +- ORS="" +- } +- $1 ~/Theme/ { print $2 } +- ') ++ awk -F= '/Theme=/ { print $2 }') + } + + function get_default_theme () -- cgit