mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Fix & Remove some things
This commit is contained in:
parent
e74402749d
commit
f7b5b584cc
2 changed files with 8 additions and 11 deletions
|
@ -20,22 +20,19 @@ $STD apt-get install -y \
|
|||
curl \
|
||||
sudo \
|
||||
mc \
|
||||
debian-keyring \
|
||||
debian-archive-keyring \
|
||||
lsb-release \
|
||||
gpg \
|
||||
apt-transport-https
|
||||
gpg
|
||||
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
|
||||
curl -fsSL https://dl.evcc.io/public/evcc/stable/gpg.EAD5D0E07B0EC0FD.key | gpg --dearmor -o /etc/apt/keyrings/evcc-stable.gpg
|
||||
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
|
||||
$STD apt update
|
||||
msg_ok "evcc Repository setup sucessfully"
|
||||
|
||||
msg_info "Installing ${APPLICATION}"
|
||||
$STD sudo apt install -y evcc
|
||||
$STD systemctl enable --now evcc.service
|
||||
$STD apt install -y evcc
|
||||
systemctl enable --now evcc.service
|
||||
msg_ok "Installed ${APPLICATION}"
|
||||
|
||||
motd_ssh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue