Update newinstaller.sh
This commit is contained in:
+2
-2
@@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Simple new installer
|
# Simple new installer
|
||||||
set -x
|
|
||||||
exec > >(tee -i installation$(date +%F).txt) 2>&1
|
|
||||||
|
|
||||||
HOME=/home/pi
|
HOME=/home/pi
|
||||||
USER=pi
|
USER=pi
|
||||||
@@ -11,6 +9,8 @@ if ! which git &> /dev/null;then
|
|||||||
sudo apt -y install git
|
sudo apt -y install git
|
||||||
fi
|
fi
|
||||||
git clone -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi &&
|
git clone -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ${HOME}/BirdNET-Pi &&
|
||||||
|
set -x
|
||||||
|
exec > >(tee -i installation$(date +%F).txt) 2>&1
|
||||||
${HOME}/BirdNET-Pi/scripts/install_birdnet.sh
|
${HOME}/BirdNET-Pi/scripts/install_birdnet.sh
|
||||||
if [ ${PIPESTATUS[0]} -eq 0 ];then
|
if [ ${PIPESTATUS[0]} -eq 0 ];then
|
||||||
echo "Installation completed successfully"
|
echo "Installation completed successfully"
|
||||||
|
|||||||
Reference in New Issue
Block a user