aboutsummaryrefslogtreecommitdiff
path: root/tools/XBMCLive
diff options
context:
space:
mode:
authorlcapriotti <lcapriotti@svn>2010-10-11 15:24:58 +0000
committerlcapriotti <lcapriotti@svn>2010-10-11 15:24:58 +0000
commit4bb5c116a5cb56fbad38e5a7694b83b6a824137b (patch)
tree4596dd1e45227b779010f037a198fec759b2a310 /tools/XBMCLive
parentff3fdd18b857da05de1205b20237a9d4e0ca2254 (diff)
backport: r34682
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34683 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/XBMCLive')
-rw-r--r--tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/install/Hooks/setupSources.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/install/Hooks/setupSources.sh b/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/install/Hooks/setupSources.sh
index c8ead52e7e..ce1e9275e9 100644
--- a/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/install/Hooks/setupSources.sh
+++ b/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/install/Hooks/setupSources.sh
@@ -9,21 +9,25 @@ xbmcUser=$(getent passwd 1000 | sed -e 's/\:.*//')
if [ ! -d "/home/$xbmcUser/Music" ]; then
mkdir /home/$xbmcUser/Music
chmod 755 /home/$xbmcUser/Music
+ chown -R $xbmcUser:$xbmcUser /home/$xbmcUser/Music
fi
if [ ! -d "/home/$xbmcUser/Pictures" ]; then
mkdir /home/$xbmcUser/Pictures
chmod 755 /home/$xbmcUser/Pictures
+ chown -R $xbmcUser:$xbmcUser /home/$xbmcUser/Pictures
fi
if [ ! -d "/home/$xbmcUser/TV Shows" ]; then
mkdir "/home/$xbmcUser/TV Shows"
chmod 755 "/home/$xbmcUser/TV Shows"
+ chown -R $xbmcUser:$xbmcUser "/home/$xbmcUser/TV Shows"
fi
if [ ! -d "/home/$xbmcUser/Videos" ]; then
mkdir /home/$xbmcUser/Videos
chmod 755 /home/$xbmcUser/Videos
+ chown -R $xbmcUser:$xbmcUser /home/$xbmcUser/Videos
fi
mkdir -p /home/$xbmcUser/.xbmc/userdata &> /dev/null