openwrt-packages/utils/apk/test.sh

8 lines
90 B
Bash

#!/bin/sh
case "$1" in
"apk")
apk --version | grep "${2#*v}"
;;
esac