install.sh: fix stow detection
This commit is contained in:
parent
376b0d6ca6
commit
9b74ff46f9
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user