install.sh: fix stow detection

This commit is contained in:
Jason Swank 2023-12-02 19:46:30 +00:00
parent 376b0d6ca6
commit 9b74ff46f9
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# Install my dotfiles. # Install my dotfiles.
# #
STOW=$(which stow) STOW=$(which stow || echo -n "")
if [ -z "$STOW" ]; then if [ -z "$STOW" ]; then
STOW=./stow.sh STOW=./stow.sh
fi fi

View File

@ -1,4 +1,6 @@
if [ ! $DISPLAY && $(tty) = "/dev/tty1" ]; then if [[ ! $DISPLAY && $(tty) = "/dev/tty1" ]]; then
startx startx
exit exit
fi fi
cd /workspace/infinite