mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2024-11-14 04:49:03 +01:00
Minor update: check if devicelist.txt exists
This commit is contained in:
parent
140c2053c9
commit
c9be9bc88a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user