fix quotes

This commit is contained in:
Tobias Powalowski 2023-09-06 09:34:38 +02:00
parent 12c83cea39
commit 40c9347d46

View file

@ -1,10 +1,10 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# created by Tobias Powalowski <tpowa@archlinux.org>
_D_SCRIPTS="
_L_COMPLETE="
_L_INSTALL_COMPLETE="
_G_RELEASE="
_D_SCRIPTS=""
_L_COMPLETE=""
_L_INSTALL_COMPLETE=""
_G_RELEASE=""
_CONFIG="/etc/archboot/${_RUNNING_ARCH}-update_installer.conf"
_W_DIR="/archboot"
_ROOTFS_DIR="${_W_DIR}/tmp"
@ -45,7 +45,7 @@ usage () {
elif [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 2571000 && ! -e "/.full_system" && -e "${_LOCAL_DB}" && -e "/usr/bin/setup" ]]; then
echo -e " \e[1m-full-system\e[m Switch to full Arch Linux system."
fi
echo -e "
echo -e ""
if [[ -e "/usr/bin/setup" ]]; then
# works only on latest image
if ! [[ -e "${_LOCAL_DB}" ]]; then
@ -57,7 +57,7 @@ usage () {
echo -e " \e[1m-xfce\e[m Launch Xfce desktop with VNC sharing enabled."
echo -e " \e[1m-custom-xorg\e[m Install custom X environment."
[[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 2400000 ]] && echo -e " \e[1m-custom-wayland\e[m Install custom Wayland environment."
echo "
echo ""
fi
fi
fi