fix console output

This commit is contained in:
Tobias Powalowski 2022-10-04 10:16:03 +02:00
parent 4de0764bca
commit a7b33e21ae
2 changed files with 7 additions and 7 deletions

View file

@ -173,9 +173,9 @@ _prepare_plasma() {
if ! [[ -e /usr/bin/startplasma-x11 ]]; then
echo -e "\033[1mStep 3/5:\033[0m Installing KDE/Plasma desktop now ..."
echo " This will need some time ..."
_prepare_graphic "${_PACKAGES}"
_prepare_graphic "${_PACKAGES}" >/dev/tty7 2>&1
echo -e "\033[1mStep 4/5:\033[0m Configuring KDE desktop ..."
_configure_plasma
_configure_plasma >/dev/tty7 2>&1
else
echo -e "\033[1mStep 3/5:\033[0m Installing KDE/Plasma desktop already done ..."
echo -e "\033[1mStep 4/5:\033[0m Configuring KDE desktop already done ..."
@ -186,11 +186,11 @@ _prepare_gnome() {
if ! [[ -e /usr/bin/gnome-session ]]; then
echo -e "\033[1mStep 3/5:\033[0m Installing GNOME desktop now ..."
echo " This will need some time ..."
_prepare_graphic "${_PACKAGES}"
_prepare_graphic "${_PACKAGES}" >/dev/tty7 2>&1
echo -e "\033[1mStep 4/5:\033[0m Configuring GNOME desktop ..."
_configure_gnome
systemd-sysusers
systemd-tmpfiles --create
_configure_gnome >/dev/tty7 2>&1
systemd-sysusers >/dev/tty7 2>&1
systemd-tmpfiles --create >/dev/tty7 2>&1
else
echo -e "\033[1mStep 3/5:\033[0m Installing GNOME desktop already done ..."
echo -e "\033[1mStep 4/5:\033[0m Configuring GNOME desktop already done ..."

View file

@ -3,7 +3,7 @@
_install_plasma_wayland() {
_PACKAGES="${_WAYLAND_PACKAGE} ${_STANDARD_PACKAGES} ${_STANDARD_BROWSER} ${_PLASMA_PACKAGES}"
_prepare_plasma >/dev/tty7 2>&1
_prepare_plasma
}
_start_plasma_wayland() {