From a7ea304154ad9b88c0ccd777f9b0228f99491e9a Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Thu, 10 Feb 2022 10:07:34 -0500 Subject: [PATCH] more testing --- scripts/update_caddyfile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update_caddyfile.sh b/scripts/update_caddyfile.sh index 2ff0889..9fe844d 100755 --- a/scripts/update_caddyfile.sh +++ b/scripts/update_caddyfile.sh @@ -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)"