summaryrefslogtreecommitdiff
path: root/plymouth/debian/patches/0001-awk.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-15 01:40:06 +0000
committerB Stack <bgstack15@gmail.com>2019-09-15 01:40:06 +0000
commitf2dff3ec0939afc06060528e453a86f3045a73a9 (patch)
tree37d52e919c9b407b9783b388aa6706ad31a0c931 /plymouth/debian/patches/0001-awk.patch
parentMerge branch 'chicago95-bump' into 'master' (diff)
parentfix maintainer (diff)
downloadstackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.gz
stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.bz2
stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.zip
Merge branch 'plymouth-bump' into 'master'
Add plymouth See merge request bgstack15/stackrpms!87
Diffstat (limited to 'plymouth/debian/patches/0001-awk.patch')
-rw-r--r--plymouth/debian/patches/0001-awk.patch22
1 files changed, 22 insertions, 0 deletions
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 <mail@daniel-baumann.ch>
+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 ()
bgstack15