openwrt-packages/lang/golang/golang/test.sh

6 lines
80 B
Bash

#!/bin/sh
[ "$1" = golang ] || exit 0
go version | grep -F " go$PKG_VERSION "