From 205dda1b05565ad77d2ed1eaff25366922e76a78 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Fri, 15 Feb 2013 14:14:45 +0000 Subject: [PATCH] support: update getmuxlist to work with launchpad. --- support/getmuxlist | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/getmuxlist b/support/getmuxlist index f115f871..eedce862 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)