mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00:00
Use the actual xxd version instead of the vim one for packaging. Add matching CI test. Signed-off-by: George Sapkin <george@sapk.in>
11 lines
145 B
Bash
11 lines
145 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
vim|vim-full|vim-fuller)
|
|
vim --version | grep -F "$2"
|
|
;;
|
|
xxd)
|
|
xxd --version 2>&1 | grep -F "${2//./-}"
|
|
;;
|
|
esac
|