Skip to content

Commit 8dd36dc

Browse files
committed
[fix] : Fixed without gui not working properly.
1 parent aa48f5b commit 8dd36dc

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

channels/lxde/airootfs.any/etc/skel/.bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
[[ -f ~/.bashrc ]] && . ~/.bashrc
66
[[ -f ~/.setup.sh ]] && bash ~/.setup.sh
7-
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
7+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
88
exec startx
99
fi

channels/lxde/airootfs.any/etc/skel/.zprofile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
#
44

55
[[ -f ~/.setup.sh ]] && bash ~/.setup.sh
6-
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
6+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
77
exec startx
88
fi

channels/plasma/airootfs.any/etc/skel/.bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
[[ -f ~/.bashrc ]] && . ~/.bashrc
66
[[ -f ~/.setup.sh ]] && ~/.setup.sh
7-
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
7+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
88
exec startx
99
fi

channels/plasma/airootfs.any/etc/skel/.zprofile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
#
44

55
[[ -f ~/.setup.sh ]] && ~/.setup.sh
6-
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
6+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
77
exec startx
88
fi

channels/xfce/airootfs.any/etc/skel/.bash_profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
[[ -f ~/.bashrc ]] && . ~/.bashrc
66
[[ -f ~/.setup.sh ]] && ~/.setup.sh
7-
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
7+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
88
exec startx
99
fi

channels/xfce/airootfs.any/etc/skel/.zprofile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
#
44

55
[[ -f ~/.setup.sh ]] && ~/.setup.sh
6-
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
6+
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
77
exec startx
88
fi

0 commit comments

Comments
 (0)