diff --git a/net/xray-core/test.sh b/net/xray-core/test.sh new file mode 100644 index 000000000..8fcce26fe --- /dev/null +++ b/net/xray-core/test.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$1" in + "xray-core") + xray version 2>&1 | grep "${2#*v}" + ;; +esac