1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

Fix install script

This commit is contained in:
Salamandar 2024-01-14 22:33:46 +01:00
parent 5a662768fc
commit 5bf5455078

View file

@ -13,8 +13,8 @@ source /usr/share/yunohost/helpers
# INITIALIZE AND STORE SETTINGS # INITIALIZE AND STORE SETTINGS
#================================================= #=================================================
mpd_state="${boolstr[mpdext]}" mpd_state="${boolstr[mpd_ext]}"
ynh_app_setting_set --app=$app --key=mpd_state --value=$mpd_state ynh_app_setting_set --app="$app" --key=mpd_state --value="$mpd_state"
#================================================= #=================================================
# APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC) # APP "BUILD" (DEPLOYING SOURCES, VENV, COMPILING ETC)
@ -30,7 +30,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
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 $install_dir/env/lib/python$python_version/site-packages/mopidy/__main__.py -i ../sources/patches/__main__.patch --forward # patch -u $install_dir/env/lib/python$python_version/site-packages/mopidy/__main__.py -i ../sources/patches/__main__.patch --forward
chmod 750 "$install_dir" chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"