fixed dependency check

This commit is contained in:
Vit Kratky 2018-09-12 11:30:04 +02:00
parent 695ccf33ef
commit 141f270351

View file

@ -21,7 +21,7 @@ XDOTOOL_BIN="$(whereis -b xdotool | awk '{print $2}')"
XRANDR_BIN="$(whereis -b xrandr | awk '{print $2}')"
ROFI_BIN="$(whereis -b rofi | awk '{print $2}')"
if [ -z "$NVIM_BIN" ] || [ -z "$VIM_BIN" ]; then
if [ ! -z "$NVIM_BIN" ] && [ ! -z "$VIM_BIN" ]; then
echo missing vim or neovim, please install dependencies
exit 1
fi