From eea353f31eee370ea3a90186df4c47eec7b36047 Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Mon, 19 Jun 2017 19:15:31 +0100 Subject: [PATCH] Update rtsetup --- rtsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtsetup b/rtsetup index e899b61..7c4044c 100755 --- a/rtsetup +++ b/rtsetup @@ -28,7 +28,7 @@ if [ -z $branch ] && [ -d /etc/rtinst ]; then branch=$(git symbolic-ref --short HEAD 2>/dev/null) fi -if [ -z $branch ]; then +if [ -z $branch ] || [ $(git ls-remote --heads https://github.com/arakasi72/rtinst.git $branch | wc -l) -eq 0 ]; then branch=master fi