From f365a91a44ae353fb3b58c4d2c0117e99a499b2a Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:56:37 +0200 Subject: [PATCH] fix repository msg_ok --- install/evcc-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/evcc-install.sh b/install/evcc-install.sh index ec87ca27..4aaaaa18 100644 --- a/install/evcc-install.sh +++ b/install/evcc-install.sh @@ -30,9 +30,12 @@ msg_ok "Installed Dependencies" msg_info "Setting up evcc Repository" curl -fsSL https://dl.evcc.io/public/evcc/stable/gpg.EAD5D0E07B0EC0FD.key | gpg --dearmor -o /etc/apt/keyrings/evcc-stable.gpg || msg_error "Failed to download GPG key" echo "deb [signed-by=/etc/apt/keyrings/evcc-stable.gpg] https://dl.evcc.io/public/evcc/stable/deb/debian $(lsb_release -cs) main" >/etc/apt/sources.list.d/evcc-stable.list || msg_error "Failed to add EVCC repository" +$STD sudo apt update +msg_ok "evcc Repository setup sucessfully" msg_info "Installing ${APPLICATION}" $STD sudo apt install -y evcc +$STD systemctl enable --now evcc.service msg_ok "Installed ${APPLICATION}" motd_ssh