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
f9246d9e46
commit
efd6abaf99
1 changed files with 1 additions and 4 deletions
|
@ -147,10 +147,7 @@ myynh_install_homeassistant () {
|
|||
myynh_upgrade_venv_directory () {
|
||||
|
||||
# Remove old python links before recreating them
|
||||
for i in `find "$install_dir/bin/" -type l -name 'python*'`
|
||||
do
|
||||
ynh_secure_remove --file="$i"
|
||||
done
|
||||
find "$install_dir/bin/" -type l -name 'python*' -exec bash -c 'rm -f "$1"' _ {} \;
|
||||
|
||||
# Upgrade the virtual environment directory
|
||||
ynh_exec_as $app $py_app_version -m venv --upgrade "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue