Include script for fetching mux configuration.
This commit is contained in:
parent
629a07009f
commit
5acefb7898
1 changed files with 26 additions and 0 deletions
26
support/getmuxlist
Executable file
26
support/getmuxlist
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Retrieve the latest dvb-apps scan files
|
||||
#
|
||||
|
||||
URL=http://linuxtv.org/hg/dvb-apps/archive/tip.tar.bz2
|
||||
TMP=/tmp/getmuxlist.$$
|
||||
TVH=$(cd $(dirname $0)/..; pwd)/data/dvb-scan
|
||||
|
||||
# Get files
|
||||
rm -rf $TMP
|
||||
mkdir -p $TMP
|
||||
cd $TMP
|
||||
curl $URL | tar xj
|
||||
cd dvb-apps*
|
||||
|
||||
# Copy to TVH
|
||||
rm -rf $TVH
|
||||
mkdir -p $TVH
|
||||
mv ./util/scan/* $TVH
|
||||
|
||||
# Cleanup
|
||||
for f in $TVH/*; do
|
||||
[ -f $f ] && rm -f $f
|
||||
done
|
||||
rm -rf $TMP
|
Loading…
Add table
Reference in a new issue