1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kodi_ynh.git synced 2024-09-03 19:26:34 +02:00

setup_source

This commit is contained in:
Gredin 67 2021-01-23 22:49:05 +01:00
parent 0b9bdce961
commit b31e74a9a8
2 changed files with 3 additions and 2 deletions

View file

@ -4,3 +4,4 @@ SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME= SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -101,7 +101,7 @@ mkdir -p "$final_path/.kodi/userdata/"
cp ../conf/advancedsettings.xml "$final_path/.kodi/userdata/advancedsettings.xml" cp ../conf/advancedsettings.xml "$final_path/.kodi/userdata/advancedsettings.xml"
if [[ $arch != arm* ]]; then if [[ $arch != arm* ]]; then
ynh_setup_source "$final_path/.kodi/addons/" "arm-chorus2" ynh_setup_source --dest_dir="$final_path/.kodi/addons/" --source_id=="arm-chorus2"
fi fi
chown -R "$app":"$app" "$final_path" chown -R "$app":"$app" "$final_path"