kodi-config: create userdata when it doesn't exist

This commit is contained in:
MilhouseVH 2019-11-16 03:17:42 +00:00
parent f6473f65a8
commit 33449d042f

View File

@ -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