mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 21:03:19 -07:00
Search PLEX_MEDIA_SERVER_USER /Users/dbarboza
This commit is contained in:
parent
483f9b06f7
commit
2e5d223d2a
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ getPlexServerToken() {
|
|||
fi
|
||||
|
||||
# List possible locations to find Plex Server preference file
|
||||
local VALIDPATHS=("${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" "/var/lib/plexmediaserver/Library/Application Support/" "${HOME}/Library/Application Support/")
|
||||
local VALIDPATHS=("${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" "/var/lib/plexmediaserver/Library/Application Support/" "${HOME}/Library/Application Support/" "/home/${PLEX_MEDIA_SERVER_USER}/Library/Application Support")
|
||||
local PREFFILE="/Plex Media Server/Preferences.xml"
|
||||
|
||||
for I in "${VALIDPATHS[@]}" ; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue