mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
fix first time install
This commit is contained in:
@@ -10,8 +10,13 @@ else
|
|||||||
fi
|
fi
|
||||||
chown -R abc:abc /config/absolute
|
chown -R abc:abc /config/absolute
|
||||||
|
|
||||||
|
if [ ! -d "/config/Library/Application Support/Plex Media Server" ]; then
|
||||||
|
echo "**** Creating Scanner and Plug-ins folders ****"
|
||||||
|
mkdir -p "/config/Library/Application Support/Plex Media Server/Scanners/Series" "/config/Library/Application Support/Plex Media Server/Plug-ins"
|
||||||
|
chown -R abc:abc "/config/Library/Application Support/Plex Media Server"
|
||||||
|
fi
|
||||||
|
|
||||||
scannerdir="/config/Library/Application Support/Plex Media Server/Scanners/Series"
|
scannerdir="/config/Library/Application Support/Plex Media Server/Scanners/Series"
|
||||||
mkdir -p "$scannerdir"
|
|
||||||
|
|
||||||
# copy the scanner if missing or out of date
|
# copy the scanner if missing or out of date
|
||||||
if [ ! -f "$scannerdir/Absolute Series Scanner.py" ]; then
|
if [ ! -f "$scannerdir/Absolute Series Scanner.py" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user