From 6fa06f62a3f9c63a36462fad96c4cdca71c89c2b Mon Sep 17 00:00:00 2001 From: tclover Date: Sat, 30 May 2015 15:07:18 +0200 Subject: [PATCH] mkinitramfs-ll.bash: Tiny white-space clean up --- mkinitramfs-ll.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mkinitramfs-ll.sh b/mkinitramfs-ll.sh index d214914..1298ccc 100755 --- a/mkinitramfs-ll.sh +++ b/mkinitramfs-ll.sh @@ -244,7 +244,7 @@ fi case "${compressor}" in (none) ;; - (*) + ([a-z]*) if [ -e /usr/src/linux-${kv}/.config ]; then config=/usr/src/linux-${kv}/.config xgrep=$(type -p grep 2>${null}) @@ -451,16 +451,16 @@ unset FONTS font KEYMAPS keymap # Handle & copy splash themes if [ -n "${splash}" ]; then bins="${bins} splash_util.static fbcondecor_helper" - + if [ -n "${opt_toi}" ]; then bins="${bins} tuxoniceui_text" && module_group="${module_group} tuxonice" fi - for theme in ${splash}; do - if [ -d etc/splash/${theme} ]; then :; + for theme in ${splash}; do + if [ -d etc/splash/${theme} ]; then :; elif [ -d /etc/splash/${theme} ]; then cp -r /etc/splash/${theme} etc/splash/ elif [ -d ${theme} ]; then - cp -ar ${theme} etc/splash/ + cp -ar ${theme} etc/splash/ else warn "Failed to copy ${theme} theme" fi