mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Fix upgrade
This commit is contained in:
parent
3399a6ba27
commit
d2ed6222b8
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ myynh_install_homeassistant () {
|
||||||
|
|
||||||
# Upgrade the virtual environment directory
|
# Upgrade the virtual environment directory
|
||||||
myynh_upgrade_venv_directory () {
|
myynh_upgrade_venv_directory () {
|
||||||
|
find "$install_dir/bin/" -type l -name 'python*' -exec bash -c 'ynh_secure_remove "$1"' _ {} \;
|
||||||
ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir"
|
ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue