tweaking based on a new test

This commit is contained in:
Patrick McGuire
2021-10-29 17:07:51 -04:00
parent 0153d86019
commit 1c927b8aa2
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -50,7 +50,8 @@ stage_2() {
cd ${my_dir} && git checkout ${branch} cd ${my_dir} && git checkout ${branch}
fi fi
if [ -f ${my_dir}/Birders_Guide_Installer_Configuration.txt ];then source ${my_dir}/Birders_Guide_Installer_Configuration.txt
if [ -z ${LATITUDE} ] || [ -z ${LONGITUDE} ] || [ -z ${CADDY_PWD} ] || [ -z ${ICE_PWD} ] || [ -z ${DB_PWD} ] || [ -z ${DB_ROOT_PWD} ];then
echo echo
echo echo
echo "Follow the instructions to fill out the LATITUDE and LONGITUDE variables echo "Follow the instructions to fill out the LATITUDE and LONGITUDE variables
+2 -2
View File
@@ -543,12 +543,12 @@ do_get_lat() {
} }
do_update_os() { do_update_os() {
apt update && apt -y full-upgrade apt update && apt -y full-upgrade && \
ASK_TO_REBOOT=1 ASK_TO_REBOOT=1
} }
do_install_birdnet() { do_install_birdnet() {
sudo -E -upi ${birdnetpi_dir}/scripts/install_birdnet.sh sudo -E -upi ${birdnetpi_dir}/Birders_Guide_Installer.sh && \
ASK_TO_REBOOT=1 ASK_TO_REBOOT=1
} }