Update install

Just a silly error in the install script. The command that should be tested should not be `git` but `comfortable-swipe`.
This commit is contained in:
Rico Tiongson 2017-11-07 01:25:40 +08:00
parent a3f5cf68dc
commit db0bce369c

View File

@ -2,7 +2,7 @@
DIR=$(dirname $0) DIR=$(dirname $0)
PROGRAM=$HOME/.local/bin/comfortable-swipe PROGRAM=$HOME/.local/bin/comfortable-swipe
if [ -x "$(command -v git)" ]; then if [ -x "$(command -v $PROGRAM)" ]; then
# stop any running comfortable-swipe if it exists # stop any running comfortable-swipe if it exists
$PROGRAM stop $PROGRAM stop
fi fi