mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2025-10-29 13:07:37 +01:00
Merge pull request #157 from adn77/master
Minor update: check if devicelist.txt exists
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user