install_easy : check_package_exists_openwrt fix

This commit is contained in:
bolvan 2019-05-07 21:12:38 +03:00
parent 4d5ccd75c4
commit 0e0415dc69

View File

@ -395,7 +395,7 @@ check_kmod()
} }
check_package_exists_openwrt() check_package_exists_openwrt()
{ {
[ -n "opkg list $1" ] [ -n "$(opkg list $1)" ]
} }
check_package_openwrt() check_package_openwrt()
{ {