From: Adam Sutton Date: Fri, 11 Jan 2013 22:09:27 +0000 (+0000) Subject: build: correction to ensure old data is removed. X-Git-Tag: v3.5~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1461fb58ae7ec324387203afbfeb6844d0132d2;p=thirdparty%2Ftvheadend.git build: correction to ensure old data is removed. --- diff --git a/configure b/configure index 0445170d5..4bdd99ce3 100755 --- a/configure +++ b/configure @@ -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