tweaking based on a new test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user