mirror of
https://github.com/YunoHost-Apps/libretranslate_ynh.git
synced 2024-09-03 19:36:00 +02:00
fix toml
This commit is contained in:
parent
15cfb34986
commit
dd1af19293
2 changed files with 4 additions and 2 deletions
|
@ -26,7 +26,7 @@ ynh_script_progression --message="Installing LibreTranslate..." --weight=2
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
python3 -m venv $install_dir/venv
|
python3 -m venv $install_dir/venv
|
||||||
source $install_dir/venv/bin/activate
|
source $install_dir/venv/bin/activate
|
||||||
ynh_exec_warn_less pip install libretranslate==$libretranslate_version
|
ynh_exec_warn_less pip install libretranslate==$libretranslate_version toml
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,10 +38,12 @@ chown -R $app:www-data "$install_dir"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing LibreTranslate..." --weight=2
|
ynh_script_progression --message="Installing LibreTranslate..." --weight=2
|
||||||
|
|
||||||
|
ynh_secure_remove $install_dir/.venv
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
python3 -m venv $install_dir/venv
|
python3 -m venv $install_dir/venv
|
||||||
source $install_dir/venv/bin/activate
|
source $install_dir/venv/bin/activate
|
||||||
ynh_exec_warn_less pip install libretranslate==$libretranslate_version
|
ynh_exec_warn_less pip install libretranslate==$libretranslate_version toml
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue