openwrt-packages/libs/newt/test.sh

14 lines
154 B
Bash

#!/bin/sh
case "$1" in
python3-newt)
python3 -c 'import snack'
;;
whiptail)
whiptail --version | grep -Fx "whiptail (newt): $PKG_VERSION"
;;
esac