Skip to content

Commit

Permalink
überschreibe ggfs. altes evcc trotz Rückfrage
Browse files Browse the repository at this point in the history
Signed-off-by: openhabian <openhabian@openHABian>
  • Loading branch information
openhabian authored and openhabian committed Jan 7, 2025
1 parent 138ea12 commit a3b2d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ install_evcc() {
( echo "deb ${repotxt}"; echo "deb-src ${repotxt}" ) > $repo
echo -n "$(timestamp) [openHABian] Installing EVCC... "
cond_redirect apt update -o DPkg::Lock::Timeout="$APTTIMEOUT"
if ! cond_redirect apt install -y "evcc=${2:-${evccForcePkg:-${evccpkgversion}}}"; then echo "FAILED (EVCC package installation)"; return 1; fi
if ! cond_redirect echo "n" | apt install -y "evcc=${2:-${evccForcePkg:-${evccpkgversion}}}"; then echo "FAILED (EVCC package installation)"; return 1; fi

mkdir "$svcdir"
if [[ $(systemctl show -pUser evcc | cut -d= -f2) == "${username:-openhabian}" ]]; then
Expand Down

0 comments on commit a3b2d37

Please sign in to comment.