mirror of https://github.com/tteck/Proxmox.git
remove APPLICATION and set evcc as hard code
This commit is contained in:
parent
f7b5b584cc
commit
35789659df
|
@ -54,7 +54,7 @@ function default_settings() {
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -f /etc/apt/sources.list.d/evcc-stable.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -f /etc/apt/sources.list.d/evcc-stable.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_info "Updating evcc LXC"
|
||||||
apt update &>/dev/null
|
apt update &>/dev/null
|
||||||
apt install -y evcc &>/dev/null
|
apt install -y evcc &>/dev/null
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
|
|
|
@ -30,10 +30,10 @@ echo "deb [signed-by=/etc/apt/keyrings/evcc-stable.gpg] https://dl.evcc.io/publi
|
||||||
$STD apt update
|
$STD apt update
|
||||||
msg_ok "evcc Repository setup sucessfully"
|
msg_ok "evcc Repository setup sucessfully"
|
||||||
|
|
||||||
msg_info "Installing ${APPLICATION}"
|
msg_info "Installing evcc"
|
||||||
$STD apt install -y evcc
|
$STD apt install -y evcc
|
||||||
systemctl enable --now evcc.service
|
systemctl enable --now evcc.service
|
||||||
msg_ok "Installed ${APPLICATION}"
|
msg_ok "Installed evcc"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
Loading…
Reference in New Issue