Skip to content

Commit 0770674

Browse files
committed
Revert "Revert "Correct mythvideo version check, remove hasq warnings.""
This reverts commit cc65810.
1 parent 7aa6d11 commit 0770674

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gentoo/eclass/mythtv-plugins.eclass

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mythtv-plugins_pkg_setup() {
5151
MYTHPLUGINS="${MYTHPLUGINS} mythmusic"
5252
MYTHPLUGINS="${MYTHPLUGINS} mythnetvision"
5353
MYTHPLUGINS="${MYTHPLUGINS} mythnews"
54-
if [[ ${MY_PV} == "0.24.1" ]]; then
54+
if [[ ${MY_PV} =~ 0\.24\.[0-9] ]]; then
5555
MYTHPLUGINS="${MYTHPLUGINS} mythvideo"
5656
fi
5757
MYTHPLUGINS="${MYTHPLUGINS} mythweather"
@@ -77,7 +77,7 @@ mythtv-plugins_src_prepare() {
7777
mythtv-plugins_src_configure() {
7878
cd "${S}"
7979

80-
if hasq ${PN} ${MYTHPLUGINS} ; then
80+
if has ${PN} ${MYTHPLUGINS} ; then
8181
for x in ${MYTHPLUGINS} ; do
8282
if [[ ${PN} == ${x} ]] ; then
8383
myconf="${myconf} --enable-${x}"
@@ -99,7 +99,7 @@ mythtv-plugins_src_compile() {
9999
}
100100

101101
mythtv-plugins_src_install() {
102-
if hasq ${PN} ${MYTHPLUGINS}
102+
if has ${PN} ${MYTHPLUGINS}
103103
then
104104
cd "${S}"/${PN}
105105
else

0 commit comments

Comments
 (0)