mirror of
https://github.com/linuxserver/docker-tautulli.git
synced 2026-02-20 01:07:48 +08:00
Merge pull request #6 from sparklyballs/master
add opt out for autoupdates to git update init
This commit is contained in:
commit
1385d5be0d
@ -1,11 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
[[ ! -d /opt/plexpy/.git ]] && (git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy && \
|
||||
chown -R abc:abc /config)
|
||||
|
||||
if [ ! -d /opt/plexpy/.git ]; then
|
||||
git clone https://github.com/drzoidberg33/plexpy.git /opt/plexpy
|
||||
else
|
||||
cd /opt/plexpy
|
||||
git pull
|
||||
fi
|
||||
# opt out for autoupdates
|
||||
[ "$ADVANCED_DISABLEUPDATES" ] && exit 0
|
||||
|
||||
cd /opt/plexpy
|
||||
git pull
|
||||
chown -R abc:abc /config
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user