From: Paul Spooren Date: Sat, 10 Oct 2020 01:28:51 +0000 (-1000) Subject: vim: run test.sh only for vim{-full,-fuller} X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d964a3ba92f028880a37a918ec335524c7b904df;p=openwrt-packages.git 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 --- diff --git a/utils/vim/test.sh b/utils/vim/test.sh index 90d67fb04..913b9c6b1 100644 --- a/utils/vim/test.sh +++ b/utils/vim/test.sh @@ -1,3 +1,7 @@ #!/bin/sh -vim --version | grep "$2" +case "$1" in + vim|vim-full|vim-fuller) + vim --version | grep "$2" + ;; +esac