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