Syntax fix

Fixed syntax typos (did not yield an error but were not written as should have been).
This commit is contained in:
outerelocarlos 2022-04-21 16:55:31 +02:00
parent e35a141617
commit 4af83752e5
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ if [[ $INSTALL_TYPE == "FULL" ]]; then
cd ~
git clone https://github.com/stojshic/dotfiles-openbox
./dotfiles-openbox/install-titus.sh
elif [[ [ $DESKTOP_ENV == "gnome" ] && [ ! $AUR_HELPER == none ] ]]; then
elif [[ $DESKTOP_ENV == "gnome" && ! $AUR_HELPER == none ]]; then
$AUR_HELPER -S --noconfirm --needed gnome-shell-extension-pop-shell
fi
fi

View File

@ -73,7 +73,7 @@ elif [[ "${DESKTOP_ENV}" == "gnome" ]]; then
elif [[ "${DESKTOP_ENV}" == "lxde" ]]; then
systemctl enable lxdm.service
elif [[ ["${DESKTOP_ENV}" == "openbox"] || ["${DESKTOP_ENV}" == "awesome"] ]]; then
elif [[ "${DESKTOP_ENV}" == "openbox" || "${DESKTOP_ENV}" == "awesome" ]]; then
systemctl enable lightdm.service
if [[ "${INSTALL_TYPE}" == "FULL" ]]; then
# Set default lightdm-webkit2-greeter theme to Litarvan
@ -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