From ee9b77af8d9d95d45e05e6b4deb92c71961dae3c Mon Sep 17 00:00:00 2001 From: outerelocarlos Date: Fri, 22 Apr 2022 03:07:22 +0200 Subject: [PATCH] Syntax error fix Fixed a syntax error in a conditional expression within the Plymouth section of the post-setup script (line 139). --- scripts/3-post-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/3-post-setup.sh b/scripts/3-post-setup.sh index c31cdab..0149af9 100755 --- a/scripts/3-post-setup.sh +++ b/scripts/3-post-setup.sh @@ -136,7 +136,7 @@ PLYMOUTH_THEME="arch-glow" # can grab from config later if we allow selection mkdir -p /usr/share/plymouth/themes echo 'Installing Plymouth theme...' cp -rf ${PLYMOUTH_THEMES_DIR}/${PLYMOUTH_THEME} /usr/share/plymouth/themes -if [[ $FS == "luks"]]; then +if [[ ${FS} == "luks"]]; then sed -i 's/HOOKS=(base udev*/& plymouth/' /etc/mkinitcpio.conf # add plymouth after base udev sed -i 's/HOOKS=(base udev \(.*block\) /&plymouth-/' /etc/mkinitcpio.conf # create plymouth-encrypt after block hook else