Fix up .*profile creation
This commit is contained in:
parent
4742d8c823
commit
154e6ba591
@ -1861,9 +1861,8 @@ EOF
|
||||
# sourced by $(basename $MYSHELL) when used as a login shell
|
||||
|
||||
# automatically run startx when logging in on tty1
|
||||
if [ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ]; then
|
||||
exec startx -- vt1 >/dev/null 2>&1
|
||||
fi
|
||||
[[ ! \$DISPLAY && \$XDG_VTNR -eq 1 ]] && exec startx -- vt1
|
||||
|
||||
EOF
|
||||
else
|
||||
rm -rf $SERVICE
|
||||
|
Reference in New Issue
Block a user