Specify branch to clone in installer.sh

This commit is contained in:
Alex Malinovich 2017-02-20 15:34:30 -08:00
commit 76f3cac864
2 changed files with 2 additions and 2 deletions

View file

@ -136,7 +136,7 @@ install_plexupdate() {
cd - &> /dev/null cd - &> /dev/null
else else
echo -n "Installing plexupdate into '$FULL_PATH'... " echo -n "Installing plexupdate into '$FULL_PATH'... "
git clone "$ORIGIN_REPO" "$FULL_PATH" &> /dev/null || abort "install failed, cannot continue" git clone --branch "${BRANCHNAME:-master}" "$ORIGIN_REPO" "$FULL_PATH" &> /dev/null || abort "install failed, cannot continue"
echo "done" echo "done"
fi fi
} }