From 356a35ebf3bb0881febe5c242d4d95208dde9d13 Mon Sep 17 00:00:00 2001 From: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com> Date: Mon, 24 Jan 2022 10:49:55 -0500 Subject: [PATCH] Update install_services.sh --- scripts/install_services.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 5bc7863..f1f311b 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -19,6 +19,10 @@ set_hostname() { fi } +update_system() { + apt update && apt -y upgrade +} + install_scripts() { echo "Installing BirdNET-Pi scripts to /usr/local/bin" ln -sf ${my_dir}/* /usr/local/bin/ @@ -512,6 +516,7 @@ install_cleanup_cron() { install_selected_services() { set_hostname + update_system install_scripts install_birdnet_analysis