Navigation Menu

Skip to content

Commit

Permalink
kodi-config: create userdata when it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
MilhouseVH committed Nov 17, 2019
1 parent f6473f6 commit 33449d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/mediacenter/kodi/scripts/kodi-config
Expand Up @@ -8,6 +8,9 @@ KODI_ROOT=$HOME/.kodi

BOOT_STATE="$(cat $HOME/.config/boot.status 2>/dev/null)"

# May not exist if testing a clean /storage/.kodi without rebooting
mkdir -p $KODI_ROOT/userdata

# hack: make addon-bins executable
# done in kodi on addon install. but just in case..
chmod +x $KODI_ROOT/addons/*/bin/* 2>/dev/null
Expand Down

0 comments on commit 33449d0

Please sign in to comment.