mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 05:13:19 -07:00
Specify branch to clone in installer.sh
This commit is contained in:
parent
10212d58df
commit
76f3cac864
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ getPlexToken() {
|
|||
elif [ -n "$TOKEN" ]; then
|
||||
echo "Fetching token from Plex server"
|
||||
fi
|
||||
|
||||
|
||||
[ -n "$TOKEN" ] # simulate exit status
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue