mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Update deprecation message to be more useful
This commit is contained in:
parent
e156eb22af
commit
d30864dd16
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ done
|
||||||
# We have to double-check that both files exist before trying to stat them. This is going away soon.
|
# We have to double-check that both files exist before trying to stat them. This is going away soon.
|
||||||
if [ -z "${CONFIGFILE}" -a -f ~/.plexupdate -a ! -f /etc/plexupdate.conf ] || \
|
if [ -z "${CONFIGFILE}" -a -f ~/.plexupdate -a ! -f /etc/plexupdate.conf ] || \
|
||||||
([ -f "${CONFIGFILE}" -a -f ~/.plexupdate ] && [ `stat -Lc %i "${CONFIGFILE}"` == `stat -Lc %i ~/.plexupdate` ]); then
|
([ -f "${CONFIGFILE}" -a -f ~/.plexupdate ] && [ `stat -Lc %i "${CONFIGFILE}"` == `stat -Lc %i ~/.plexupdate` ]); then
|
||||||
warn ".plexupdate has been deprecated. You should move your configuration to /etc/plexupdate.conf"
|
warn ".plexupdate has been deprecated. Please run $(dirname "$0")/extras/installer.sh to update your configuration."
|
||||||
if [ -t 1 ]; then
|
if [ -t 1 ]; then
|
||||||
for i in `seq 1 5`; do echo -n .\ ; sleep 1; done
|
for i in `seq 1 5`; do echo -n .\ ; sleep 1; done
|
||||||
echo .
|
echo .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue