Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

support: re-instate getmuxlist script to ensure pbuilder script works

  • Loading branch information...
commit 7a52ff434c8287d0f1a68d709cb41d0c4678c737 1 parent 432009a
@adamsutton adamsutton authored
Showing with 23 additions and 10 deletions.
  1. +4 −10 configure
  2. +19 −0 support/getmuxlist
View
14 configure
@@ -175,16 +175,10 @@ fi
#
if enabled linuxdvb && enabled dvbscan; then
printf "${TAB}" "fetching dvb-scan files ..."
- 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
- echo "fail"
- die "Failed to fetch dvb-scan data (use --disable-dvbscan)"
- fi
+ ${ROOTDIR}/support/getmuxlist
+ if [ $? -ne 0 ]; then
+ echo "fail"
+ die "Failed to fetch dvb-scan data (use --disable-dvbscan)"
fi
echo "ok"
fi
View
19 support/getmuxlist
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+# Fetch DVB scan files
+#
+
+# Arguments
+DIR=$1
+[ -z "$DIR" ] && DIR=$(dirname $0)/../data/dvb-scan
+
+# Update
+if [ -d ${DIR}/.git ]; then
+ (cd ${DIR}; git pull) &> /dev/null
+
+# Fetch
+else
+ rm -rf ${DIR} &> /dev/null
+ URL=git://linuxtv.org/dtv-scan-tables.git
+ git clone $URL ${DIR} &> /dev/null
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.