mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix quotes
This commit is contained in:
parent
12c83cea39
commit
40c9347d46
1 changed files with 6 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
_D_SCRIPTS="
|
_D_SCRIPTS=""
|
||||||
_L_COMPLETE="
|
_L_COMPLETE=""
|
||||||
_L_INSTALL_COMPLETE="
|
_L_INSTALL_COMPLETE=""
|
||||||
_G_RELEASE="
|
_G_RELEASE=""
|
||||||
_CONFIG="/etc/archboot/${_RUNNING_ARCH}-update_installer.conf"
|
_CONFIG="/etc/archboot/${_RUNNING_ARCH}-update_installer.conf"
|
||||||
_W_DIR="/archboot"
|
_W_DIR="/archboot"
|
||||||
_ROOTFS_DIR="${_W_DIR}/tmp"
|
_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
|
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."
|
echo -e " \e[1m-full-system\e[m Switch to full Arch Linux system."
|
||||||
fi
|
fi
|
||||||
echo -e "
|
echo -e ""
|
||||||
if [[ -e "/usr/bin/setup" ]]; then
|
if [[ -e "/usr/bin/setup" ]]; then
|
||||||
# works only on latest image
|
# works only on latest image
|
||||||
if ! [[ -e "${_LOCAL_DB}" ]]; then
|
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-xfce\e[m Launch Xfce desktop with VNC sharing enabled."
|
||||||
echo -e " \e[1m-custom-xorg\e[m Install custom X environment."
|
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."
|
[[ "$(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
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue