typo
This commit is contained in:
@@ -29,13 +29,13 @@ fi
|
|||||||
|
|
||||||
INCLUDE_LIST="/home/pi/BirdNET-Pi/include_species_list.txt"
|
INCLUDE_LIST="/home/pi/BirdNET-Pi/include_species_list.txt"
|
||||||
EXCLUDE_LIST="/home/pi/BirdNET-Pi/exclude_species_list.txt"
|
EXCLUDE_LIST="/home/pi/BirdNET-Pi/exclude_species_list.txt"
|
||||||
if [ -f ${INCLUDE_LIST} ];then
|
if [ !-f ${INCLUDE_LIST} ];then
|
||||||
touch ${INCLUDE_LIST} &&
|
touch ${INCLUDE_LIST} &&
|
||||||
sudo chmod g+rw ${INCLUDE_LIST}
|
chmod g+rw ${INCLUDE_LIST}
|
||||||
fi
|
fi
|
||||||
if [ -f ${EXCLUDE_LIST} ];then
|
if [ ! -f ${EXCLUDE_LIST} ];then
|
||||||
touch ${EXCLUDE_LIST} &&
|
touch ${EXCLUDE_LIST} &&
|
||||||
sudo chmod g+rw ${EXCLUDE_LIST}
|
chmod g+rw ${EXCLUDE_LIST}
|
||||||
fi
|
fi
|
||||||
if [ "$(du ${INCLUDE_LIST} | awk '{print $1}')" -lt 4 ];then
|
if [ "$(du ${INCLUDE_LIST} | awk '{print $1}')" -lt 4 ];then
|
||||||
INCLUDE_LIST=null
|
INCLUDE_LIST=null
|
||||||
|
|||||||
Reference in New Issue
Block a user