From: Adam Sutton Date: Fri, 15 Feb 2013 14:14:45 +0000 (+0000) Subject: support: update getmuxlist to work with launchpad. X-Git-Tag: 3.4beta1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86f7e8ab1b26e5d02e32b5462cd9faec2a60e98d;p=thirdparty%2Ftvheadend.git support: update getmuxlist to work with launchpad. (cherry picked from commit 205dda1b05565ad77d2ed1eaff25366922e76a78) --- diff --git a/support/getmuxlist b/support/getmuxlist index f115f8711..eedce8627 100755 --- a/support/getmuxlist +++ b/support/getmuxlist @@ -12,8 +12,9 @@ if [ -d ${DIR}/.git ]; then (cd ${DIR}; git pull) &> /dev/null # Fetch -else - rm -rf ${DIR} &> /dev/null +elif [ ! -d ${DIR} ]; then URL=git://linuxtv.org/dtv-scan-tables.git git clone $URL ${DIR} &> /dev/null fi + +# Note: will not update existing set (if not .git)