diff --git a/extras/get-plex-token b/extras/get-plex-token index 45ad11d..ea2140f 100755 --- a/extras/get-plex-token +++ b/extras/get-plex-token @@ -33,7 +33,7 @@ getPlexToken() { elif [ -n "$TOKEN" ]; then echo "Fetching token from Plex server" fi - + [ -n "$TOKEN" ] # simulate exit status } diff --git a/extras/installer.sh b/extras/installer.sh index e848fa7..a995c0b 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -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 }