mirror of
https://github.com/YunoHost-Apps/kodi_ynh.git
synced 2024-09-03 19:26:34 +02:00
Missing chown for addons folder
This commit is contained in:
parent
4a10b020d1
commit
28f535a386
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,6 @@ yunohost service add "$app" --log "$final_path/.kodi/temp/kodi.log"
|
|||
#=================================================
|
||||
sudo mkdir -p "$final_path/.kodi/userdata/"
|
||||
sudo cp ../conf/advancedsettings.xml "$final_path/.kodi/userdata/advancedsettings.xml"
|
||||
sudo chown -R "$app":"$app" "$final_path"
|
||||
|
||||
if [[ $arch != arm* ]]; then
|
||||
sudo wget -q $chorus2_package -P /tmp
|
||||
|
@ -113,6 +112,8 @@ if [[ $arch != arm* ]]; then
|
|||
sudo mv /tmp/webinterface.default/ "$final_path/.kodi/addons/webinterface.chorus2/"
|
||||
fi
|
||||
|
||||
sudo chown -R "$app":"$app" "$final_path"
|
||||
|
||||
if [ "$open_webserver_port" -eq 1 ]
|
||||
then
|
||||
yunohost firewall allow --no-upnp TCP 8080 2>&1
|
||||
|
|
Loading…
Reference in a new issue