A live bird collage card for your Home Assistant dashboard.
adding v2. to wttr (fix)
Patrick McGuire631b048fb815
diff --git a/scripts/install_services.sh b/scripts/install_services.shindex bb4d03a4..1b28eb54 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -152,7 +152,7 @@ create_necessary_dirs() {sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/index_bootstrap.html ${HOME}/phpsysinfo/templates/htmlecho "Setting Wttr.in URL to "${LATITUDE}", "${LONGITUDE}""- sudo -u${USER} sed -i "s/https:\/\/v2.wttr.in\//https:\/\/wttr.in\/"${LATITUDE},${LONGITUDE}"/g" $(dirname ${my_dir})/homepage/menu.html+ sudo -u${USER} sed -i "s/https:\/\/v2.wttr.in\//https:\/\/v2.wttr.in\/"${LATITUDE},${LONGITUDE}"/g" $(dirname ${my_dir})/homepage/menu.html}diff --git a/scripts/update_services.sh b/scripts/update_services.shindex f6073da9..56c67ed9 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -151,7 +151,7 @@ create_necessary_dirs() {sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/index_bootstrap.html ${HOME}/phpsysinfo/templates/htmlecho "Setting Wttr.in URL to "${LATITUDE}", "${LONGITUDE}""- sudo -u${USER} sed -i "s/https:\/\/v2.wttr.in\//https:\/\/wttr.in\/"${LATITUDE},${LONGITUDE}"/g" $(dirname ${my_dir})/homepage/menu.html+ sudo -u${USER} sed -i "s/https:\/\/v2.wttr.in\//https:\/\/v2.wttr.in\/"${LATITUDE},${LONGITUDE}"/g" $(dirname ${my_dir})/homepage/menu.html}install_alsa() {