install.sh: fix stow detection
This commit is contained in:
parent
376b0d6ca6
commit
9b74ff46f9
@ -3,7 +3,7 @@
|
||||
# Install my dotfiles.
|
||||
#
|
||||
|
||||
STOW=$(which stow)
|
||||
STOW=$(which stow || echo -n "")
|
||||
if [ -z "$STOW" ]; then
|
||||
STOW=./stow.sh
|
||||
fi
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
if [ ! $DISPLAY && $(tty) = "/dev/tty1" ]; then
|
||||
if [[ ! $DISPLAY && $(tty) = "/dev/tty1" ]]; then
|
||||
startx
|
||||
exit
|
||||
fi
|
||||
|
||||
cd /workspace/infinite
|
||||
|
||||
Loading…
Reference in New Issue
Block a user