Files
openwrt-packages/utils/vim/test.sh
George Sapkin 3365ba873b vim: add actual xxd version
Use the actual xxd version instead of the vim one for packaging.

Add matching CI test.

Signed-off-by: George Sapkin <george@sapk.in>
2025-12-07 20:09:57 +01:00

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