mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -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
|
elif [ -n "$TOKEN" ]; then
|
||||||
echo "Fetching token from Plex server"
|
echo "Fetching token from Plex server"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$TOKEN" ] # simulate exit status
|
[ -n "$TOKEN" ] # simulate exit status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue