diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.sh index be2d7c3..4406ee2 100755 --- a/Birders_Guide_Installer.sh +++ b/Birders_Guide_Installer.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -xe +set -e my_dir=${HOME}/BirdNET-Lite trap '${my_dir}/scripts/dump_logs.sh && exit' EXIT SIGHUP SIGINT diff --git a/scripts/install_config.sh b/scripts/install_config.sh index b238336..eb24fe7 100755 --- a/scripts/install_config.sh +++ b/scripts/install_config.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Creates and installs the /etc/birdnet/birdnet.conf file -set -x # Uncomment to enable debugging +#set -x # Uncomment to enable debugging set -e trap 'exit 1' SIGINT SIGHUP