setting up installation on-liner for alpha
This commit is contained in:
@@ -44,7 +44,7 @@ EOF
|
|||||||
echo
|
echo
|
||||||
echo "Installing stage 2 installation script now."
|
echo "Installing stage 2 installation script now."
|
||||||
cd ~
|
cd ~
|
||||||
curl -s -O "https://raw.githubusercontent.com/mcguirepr89/BirdNET-Lite/rpi4/Birders_Guide_Installer.sh"
|
curl -s -O "https://raw.githubusercontent.com/mcguirepr89/BirdNET-Lite/rpialpha/Birders_Guide_Installer.sh"
|
||||||
chmod +x Birders_Guide_Installer.sh
|
chmod +x Birders_Guide_Installer.sh
|
||||||
cat << EOF | sudo tee /etc/systemd/user/birdnet-system-installer.service &> /dev/null
|
cat << EOF | sudo tee /etc/systemd/user/birdnet-system-installer.service &> /dev/null
|
||||||
[Unit]
|
[Unit]
|
||||||
@@ -107,7 +107,7 @@ stage_2() {
|
|||||||
if [ ! -d ${my_dir} ];then
|
if [ ! -d ${my_dir} ];then
|
||||||
cd ~ || exit 1
|
cd ~ || exit 1
|
||||||
echo "Cloning the BirdNET-Lite repository in your home directory"
|
echo "Cloning the BirdNET-Lite repository in your home directory"
|
||||||
git clone -b rpi4 https://github.com/mcguirepr89/BirdNET-Lite.git ~/BirdNET-Lite
|
git clone -b rpialpha https://github.com/mcguirepr89/BirdNET-Lite.git ~/BirdNET-Lite
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f ${my_dir}/Birders_Guide_Installer_Configuration.txt ];then
|
if [ -f ${my_dir}/Birders_Guide_Installer_Configuration.txt ];then
|
||||||
|
|||||||
Reference in New Issue
Block a user