]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
support: update getmuxlist to work with launchpad.
authorAdam Sutton <dev@adamsutton.me.uk>
Fri, 15 Feb 2013 14:14:45 +0000 (14:14 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Fri, 15 Feb 2013 14:15:04 +0000 (14:15 +0000)
(cherry picked from commit 205dda1b05565ad77d2ed1eaff25366922e76a78)

support/getmuxlist

index f115f871184c95a943ab589d3fa02ac6850e5771..eedce8627848b3a9118e18f10f8be55504b1d09f 100755 (executable)
@@ -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)