vim: run test.sh only for vim{-full,-fuller}

Previously the test.sh script would also run for the `vim-help` package
which isn't a binary package but just a tar archive.

Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
Paul Spooren 2020-10-09 15:28:51 -10:00
parent d64b945013
commit d964a3ba92
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
#!/bin/sh
vim --version | grep "$2"
case "$1" in
vim|vim-full|vim-fuller)
vim --version | grep "$2"
;;
esac