From 3a6998d36aed1b3f7a309b78883fe44469f46634 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Sat, 29 Jan 2022 14:33:34 -0500 Subject: [PATCH] successful update, but need to fix filemanager --- scripts/update_services.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 66ece7f..7508e62 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -136,6 +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 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