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

@ -33,7 +33,7 @@ getPlexToken() {
elif [ -n "$TOKEN" ]; then
echo "Fetching token from Plex server"
fi
[ -n "$TOKEN" ] # simulate exit status
}

View file

@ -136,7 +136,7 @@ install_plexupdate() {
cd - &> /dev/null
else
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"
fi
}