adjustments
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Simple new installer
|
||||
my_dir=$(realpath $(dirname 0))
|
||||
HOME=$HOME
|
||||
USER=$USER
|
||||
|
||||
export my_dir=$my_dir
|
||||
export HOME=$HOME
|
||||
export USER=$USER
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ set -x
|
||||
exec > >(tee -i installation-$(date +%F).txt) 2>&1
|
||||
set -e # exit installation if anything fails
|
||||
trap '${my_dir}/dump_logs.sh && echo -e "\n\nExiting the installation. Goodbye!" && exit 1' SIGINT
|
||||
cd $my_dir || exit 1
|
||||
cd $my_dir/scripts || exit 1
|
||||
|
||||
if [ "$(uname -m)" != "aarch64" ];then
|
||||
echo "BirdNET-Pi requires a 64-bit OS.
|
||||
|
||||
Reference in New Issue
Block a user