1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
openwrt-packages/utils/vim/test.sh
Paul Spooren d964a3ba92 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>
2020-10-09 15:54:04 -10:00

8 lines
88 B
Bash

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