Files
packages/utils/vim/test.sh
T
George Sapkin 7549064c51 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>
(cherry picked from commit 3365ba873b)
2026-01-04 14:07:47 +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