diff options
Diffstat (limited to 'hass-update.service')
-rw-r--r-- | hass-update.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hass-update.service b/hass-update.service index 33bbfe75fca4..6392f79f2705 100644 --- a/hass-update.service +++ b/hass-update.service @@ -15,6 +15,9 @@ Type=oneshot # upgrade home assistant and all its necessary libs ExecStart=pip install --no-warn-script-location --user --upgrade homeassistant +# temp workaround for https://github.com/home-assistant/core/issues/74405 +ExecStart = sh -c "find $(python -c 'import site; print(site.getusersitepackages())') -wholename '*/homeassistant/util/package.py' -exec sed -i '/--prefix=/d' {} \; " + # delete old python version libraries in the venv ExecStart=sh -c '\ find \ |