From 7e6e354a397af4da3a86ade45819cf7fab4250b0 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Sat, 29 Jan 2022 14:34:28 -0500 Subject: [PATCH] fix typo of course --- scripts/update_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 7508e62..4678066 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -136,7 +136,7 @@ create_necessary_dirs() { sudo -u${USER} sed -i "s/birdnetpi.local/$(hostname).local/g" $(dirname ${my_dir})/scripts/*.html sudo -u${USER} sed -i "s/birdnetpi.local/$(hostname).local/g" $(dirname ${my_dir})/scripts/*.html sudo -u${USER} sed -i "s/birdnetpi.local/$(hostname).local/g" $(dirname ${my_dir})/scripts/*.php - sudo -u${USER} sed -i "s/birdnetpi.local/$(hostname).local/g" $(dirname ${my_dir})/scripts/*/.php + sudo -u${USER} sed -i "s/birdnetpi.local/$(hostname).local/g" $(dirname ${my_dir})/scripts/*/*.php else BIRDNETPI_URL="$(echo ${BIRDNETPI_URL} | sed 's/\/\//\\\/\\\//g')" sudo -u${USER} sed -i "s/http:\/\/$(hostname).local/"${BIRDNETPI_URL}"/g" $(dirname ${my_dir})/homepage/*.html