mirror of
https://github.com/linuxserver/docker-tautulli.git
synced 2026-02-20 01:07:48 +08:00
Update 30_install_update_plexpy.sh
This commit is contained in:
parent
c21bbf8e07
commit
8b793e7e8e
@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
[ "$DEV" ] && BRANCH="dev" || BRANCH="master"
|
||||
#If variable $ADVANCED_DEV_BRANCH, set branch to DEV, otherwise, default to master
|
||||
[ "$ADVANCED_DEV_BRANCH" ] && BRANCH="dev" || BRANCH="master"
|
||||
#Display Warning message
|
||||
[ "$ADVANCED_DEV_BRANCH" ] && echo "BRANCH IS DEV, NO DOCKER SUPPORT WITH THIS BRANCH, THANKS"
|
||||
echo "Cloning $BRANCH branch..."
|
||||
[[ ! -d /opt/plexpy/.git ]] && (git clone https://github.com/drzoidberg33/plexpy.git --branch $BRANCH /opt/plexpy && \
|
||||
chown -R abc:abc /config)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user