fixed dependency check
This commit is contained in:
parent
695ccf33ef
commit
141f270351
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ XDOTOOL_BIN="$(whereis -b xdotool | awk '{print $2}')"
|
||||||
XRANDR_BIN="$(whereis -b xrandr | awk '{print $2}')"
|
XRANDR_BIN="$(whereis -b xrandr | awk '{print $2}')"
|
||||||
ROFI_BIN="$(whereis -b rofi | 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
|
echo missing vim or neovim, please install dependencies
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue