Merge pull request #3358 from vpeter4/oe_setup_addon

oe_setup_addon: create missing folder
This commit is contained in:
Stefan Saraev 2014-07-03 23:07:07 +03:00
commit 2b1573b63c
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ oe_setup_addon() {
# copy defaults # copy defaults
if [ -f "$DEF" -a ! -f "$CUR" ] ; then if [ -f "$DEF" -a ! -f "$CUR" ] ; then
mkdir -p "/storage/.xbmc/userdata/addon_data/$1"
cp "$DEF" "$CUR" cp "$DEF" "$CUR"
fi fi

View File

@ -23,6 +23,7 @@ oe_setup_addon() {
# copy defaults # copy defaults
if [ -f "$DEF" -a ! -f "$CUR" ] ; then if [ -f "$DEF" -a ! -f "$CUR" ] ; then
mkdir -p "/storage/.xbmc/userdata/addon_data/$1"
cp "$DEF" "$CUR" cp "$DEF" "$CUR"
fi fi