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}
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 "Follow the instructions to fill out the LATITUDE and LONGITUDE variables
+4 -4
View File
@@ -543,13 +543,13 @@ do_get_lat() {
}
do_update_os() {
apt update && apt -y full-upgrade
ASK_TO_REBOOT=1
apt update && apt -y full-upgrade && \
ASK_TO_REBOOT=1
}
do_install_birdnet() {
sudo -E -upi ${birdnetpi_dir}/scripts/install_birdnet.sh
ASK_TO_REBOOT=1
sudo -E -upi ${birdnetpi_dir}/Birders_Guide_Installer.sh && \
ASK_TO_REBOOT=1
}
insist_on_reboot() {