mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add better error message
This commit is contained in:
parent
a5bb043f3d
commit
f67c845391
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ fi
|
||||||
if [[ "${_L_XFCE}" == "1" || "${_L_PLASMA}" == "1" || "${_L_GNOME}" == "1" || "${_L_GNOME_WAYLAND}" == "1" || "${_L_PLASMA_WAYLAND}" == "1" ]]; then
|
if [[ "${_L_XFCE}" == "1" || "${_L_PLASMA}" == "1" || "${_L_GNOME}" == "1" || "${_L_GNOME_WAYLAND}" == "1" || "${_L_PLASMA_WAYLAND}" == "1" ]]; then
|
||||||
if [[ -e "/.graphic_run" ]]; then
|
if [[ -e "/.graphic_run" ]]; then
|
||||||
echo -e "\033[1m\033[91mError: Graphical environment already installed ...\033[0m"
|
echo -e "\033[1m\033[91mError: Graphical environment already installed ...\033[0m"
|
||||||
|
echo -e "You are running in \033[1mLocal mode\033[0m, which only can launch \033[1mone\033[0m environment."
|
||||||
|
echo -e "Please relaunch your already used graphical environment from commandline."
|
||||||
else
|
else
|
||||||
if ! [[ -d /usr.zram ]]; then
|
if ! [[ -d /usr.zram ]]; then
|
||||||
echo -e "\033[1mStep 1/5:\033[0m Move /usr to /usr.zram ..."
|
echo -e "\033[1mStep 1/5:\033[0m Move /usr to /usr.zram ..."
|
||||||
|
|
Loading…
Reference in a new issue