Update install_birdnet.sh
This commit is contained in:
@@ -4,6 +4,7 @@ set -x
|
|||||||
exec > >(tee -i installation-$(date +%F).txt) 2>&1
|
exec > >(tee -i installation-$(date +%F).txt) 2>&1
|
||||||
set -e # exit installation if anything fails
|
set -e # exit installation if anything fails
|
||||||
trap '${my_dir}/dump_logs.sh && echo -e "\n\nExiting the installation. Goodbye!" && exit 1' SIGINT
|
trap '${my_dir}/dump_logs.sh && echo -e "\n\nExiting the installation. Goodbye!" && exit 1' SIGINT
|
||||||
|
my_dir=$HOME/BirdNET-Pi
|
||||||
cd $my_dir/scripts || exit 1
|
cd $my_dir/scripts || exit 1
|
||||||
|
|
||||||
if [ "$(uname -m)" != "aarch64" ];then
|
if [ "$(uname -m)" != "aarch64" ];then
|
||||||
|
|||||||
Reference in New Issue
Block a user