Syntax error fix

Fixed a syntax error found in a conditional (within the Plymouth section of the post-setup script).
This commit is contained in:
outerelocarlos 2022-04-20 05:21:00 +02:00
parent 7343e44573
commit 41631dcd1b
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,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