mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 21:03:19 -07:00
Merge 43a8e41e5a
into cadd613388
This commit is contained in:
commit
c89f387ab8
1 changed files with 6 additions and 2 deletions
|
@ -73,8 +73,12 @@ if [ $? -eq 127 ]; then
|
|||
fi
|
||||
|
||||
# Load settings from config file if it exists
|
||||
if [ -f ~/.plexupdate ]; then
|
||||
source ~/.plexupdate
|
||||
CONFIG_FILE="${HOME}/.plexupdate"
|
||||
if [[ ! -z ${SUDO_USER} ]] ; then
|
||||
CONFIG_FILE="`eval echo ~${SUDO_USER}`/.plexupdate"
|
||||
fi
|
||||
if [ -f ${CONFIG_FILE} ]; then
|
||||
source ${CONFIG_FILE}
|
||||
fi
|
||||
|
||||
if [ ! "${RELEASE}" = "" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue