build: correction to ensure old data is removed.

This commit is contained in:
Adam Sutton 2013-01-11 22:09:27 +00:00
parent 7227c128eb
commit a1461fb58a

1
configure vendored
View file

@ -178,6 +178,7 @@ if enabled linuxdvb && enabled dvbscan; then
if [ -d ${ROOTDIR}/data/dvb-scan/.git ]; then
(cd ${ROOTDIR}/data/dvb-scan; git pull) &> /dev/null
else
rm -rf ${ROOTDIR}/data/dvb-scan &> /dev/null
URL=git://linuxtv.org/dtv-scan-tables.git
git clone $URL ${ROOTDIR}/data/dvb-scan &> /dev/null
if [ $? -ne 0 ]; then