more testing

This commit is contained in:
mcguirepr89
2022-02-10 10:07:34 -05:00
parent 79344f673d
commit a7ea304154
+1
View File
@@ -69,6 +69,7 @@ fi
################################################################################
sudo -u${USER} git -C /home/pi/BirdNET-Pi checkout -f homepage/*
sudo -u${USER} git -C /home/pi/BirdNET-Pi checkout -f scripts/*
sudo -u${USER} git -C /home/pi/BirdNET-Pi checkout -f scripts/*/*
if [ ! -z ${BIRDNETLOG_URL} ];then
BIRDNETLOG_URL="$(echo ${BIRDNETLOG_URL} | sed 's/\/\//\\\/\\\//g')"
sudo -u${USER} sed -i "s/http:\/\/$(hostname).local:8080/"${BIRDNETLOG_URL}"/g" $(dirname ${my_dir})/homepage/ phpfiles="$(grep -l "$(hostname).local:8080" ${my_dir}/*.php)"