build: ensure git submodule with dvb-scan data is updated.
This commit is contained in:
parent
bb51160721
commit
1de1b68c7e
1 changed files with 13 additions and 0 deletions
13
configure
vendored
13
configure
vendored
|
@ -41,6 +41,8 @@ parse_args $*
|
||||||
# Checks
|
# Checks
|
||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
|
|
||||||
|
echo "Checking support/features"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Compiler
|
# Compiler
|
||||||
#
|
#
|
||||||
|
@ -168,6 +170,17 @@ if enabled_or_auto imagecache; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# DVB scan
|
||||||
|
#
|
||||||
|
if enabled linuxdvb && enabled dvbscan; then
|
||||||
|
[ ! -d ${ROOTDIR}/data/dvb-scan/.git ] && rm -rf $ROOTDIR/data/dvb-scan/*
|
||||||
|
printf "${TAB}" "fetching dvb-scan files ..."
|
||||||
|
git submodule update --init &> /dev/null\
|
||||||
|
|| die "failed (use --disable-dvbscan)"
|
||||||
|
echo "ok"
|
||||||
|
fi
|
||||||
|
|
||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
# Write config
|
# Write config
|
||||||
# ###########################################################################
|
# ###########################################################################
|
||||||
|
|
Loading…
Add table
Reference in a new issue