From 044ff5f132864760a1191922eb20409376a1c818 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sat, 10 Dec 2016 15:05:02 -0800 Subject: [PATCH] Update deprecation message to be more useful (#147) * Update deprecation message to be more useful --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 7e57565..6473c8d 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -231,7 +231,7 @@ done # 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 ] || \ ([ -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 for i in `seq 1 5`; do echo -n .\ ; sleep 1; done echo .