mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
avoid patch in upgrade script
This commit is contained in:
parent
f2b3ab0128
commit
3eb3cb1549
2 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ myynh_install() {
|
||||||
|
|
||||||
# install essential packages
|
# install essential packages
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy==3.1.1
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy==3.1.1
|
||||||
patch -u $final_path/env/lib/python$python_version/site-packages/mopidy/__main__.py -i ../sources/patches/__main__.patch
|
# patch -u $final_path/env/lib/python$python_version/site-packages/mopidy/__main__.py -i ../sources/patches/__main__.patch --forward
|
||||||
|
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local==3.2.1
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local==3.2.1
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient==3.1.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient==3.1.0
|
||||||
|
|
|
@ -82,6 +82,7 @@ ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell
|
||||||
ynh_script_progression --message="Install in Python environment..." --weight=30
|
ynh_script_progression --message="Install in Python environment..." --weight=30
|
||||||
|
|
||||||
myynh_install
|
myynh_install
|
||||||
|
patch -u $final_path/env/lib/python$python_version/site-packages/mopidy/__main__.py -i ../sources/patches/__main__.patch --forward
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue