mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Merge pull request #260 from YunoHost-Apps/master-promotion
Upgrade master from testing
This commit is contained in:
commit
c7f868d0c4
5 changed files with 15 additions and 5 deletions
1
.github/workflows/updater.yml
vendored
1
.github/workflows/updater.yml
vendored
|
@ -51,4 +51,5 @@ jobs:
|
|||
title: 'Upgrade to version ${{ env.VERSION }}'
|
||||
body: |
|
||||
Upgrade to v${{ env.VERSION }}
|
||||
[See upstream release page](https://github.com/home-assistant/core/releases/tag/${{ env.VERSION }})
|
||||
draft: false
|
||||
|
|
|
@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b
|
|||
- Home Energy Management."
|
||||
|
||||
|
||||
**Shipped version:** 2023.10.1~ynh1
|
||||
**Shipped version:** 2023.10.2~ynh1
|
||||
|
||||
**Demo:** https://demo.home-assistant.io
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b
|
|||
- Home Energy Management."
|
||||
|
||||
|
||||
**Version incluse :** 2023.10.1~ynh1
|
||||
**Version incluse :** 2023.10.2~ynh1
|
||||
|
||||
**Démo :** https://demo.home-assistant.io
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Home Assistant"
|
|||
description.en = "Home automation platform"
|
||||
description.fr = "Plateforme domotique"
|
||||
|
||||
version = "2023.10.1~ynh1"
|
||||
version = "2023.10.2~ynh1"
|
||||
|
||||
maintainers = ["ewilly"]
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
# Release to install
|
||||
app_version=2023.10.1
|
||||
app_version=2023.10.2
|
||||
|
||||
# Requirements
|
||||
py_required_version=3.11.6
|
||||
|
@ -147,7 +147,16 @@ myynh_install_homeassistant () {
|
|||
myynh_upgrade_venv_directory () {
|
||||
|
||||
# Remove old python links before recreating them
|
||||
find "$install_dir/bin/" -type l -name 'python*' -exec bash -c 'rm -f "$1"' _ {} \;
|
||||
find "$install_dir/bin/" -type l -name 'python*' \
|
||||
-exec bash -c 'rm --force "$1"' _ {} \;
|
||||
|
||||
# Remove old python directories before recreating them
|
||||
find "$install_dir/lib/" -mindepth 1 -maxdepth 1 -type d -name "python*" \
|
||||
-not -path "*/python${py_required_version%.*}" \
|
||||
-exec bash -c 'rm --force --recursive "$1"' _ {} \;
|
||||
find "$install_dir/include/site/" -mindepth 1 -maxdepth 1 -type d -name "python*" \
|
||||
-not -path "*/python${py_required_version%.*}" \
|
||||
-exec bash -c 'rm --force --recursive "$1"' _ {} \;
|
||||
|
||||
# Upgrade the virtual environment directory
|
||||
ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue