vim: run test.sh only for vim{-full,-fuller}
authorPaul Spooren <mail@aparcar.org>
Sat, 10 Oct 2020 01:28:51 +0000 (15:28 -1000)
committerPaul Spooren <mail@aparcar.org>
Sat, 10 Oct 2020 01:54:04 +0000 (15:54 -1000)
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>
utils/vim/test.sh

index 90d67fb04eefcb772497621f5584b7c6f978d529..913b9c6b1f993efa5b6ccf21b0a893caabce49d2 100644 (file)
@@ -1,3 +1,7 @@
 #!/bin/sh
 
-vim --version | grep "$2"
+case "$1" in
+       vim|vim-full|vim-fuller)
+               vim --version | grep "$2"
+               ;;
+esac