Fix up .*profile creation

This commit is contained in:
natemaia 2019-01-11 10:09:15 -08:00
parent 4742d8c823
commit 154e6ba591

View File

@ -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