From c9be9bc88afa5d7fdd8f690e5f882545cc9543cc Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 12 Jun 2022 23:42:05 +0200 Subject: [PATCH] Minor update: check if devicelist.txt exists --- alexa_remote_control.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alexa_remote_control.sh b/alexa_remote_control.sh index 2e8a589..93b1953 100755 --- a/alexa_remote_control.sh +++ b/alexa_remote_control.sh @@ -1242,7 +1242,7 @@ if [ $? -eq 0 ] ; then fi fi -if [ ! -f ${DEVLIST}.json ] ; then +if [ ! -f ${DEVLIST}.json -o ! -f ${DEVLIST}.txt ] ; then echo "device list does not exist. downloading ..." get_devlist if [ ! -f ${DEVLIST}.json ] ; then