diff options
author | lcapriotti <lcapriotti@svn> | 2010-09-09 15:45:47 +0000 |
---|---|---|
committer | lcapriotti <lcapriotti@svn> | 2010-09-09 15:45:47 +0000 |
commit | a96ed6bbccd88f33dfb94a8990ad30f3cc2a94b6 (patch) | |
tree | 33928eda6018271623a61edb085b04f7fab593f5 /tools | |
parent | 82ee9121649ad3047e4b5b69c73811df8bbef862 (diff) |
xbmc user can be renamed at installation time - tks Erhnam
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33636 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
-rw-r--r-- | tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/setupSources.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/setupSources.sh b/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/setupSources.sh index 26154f8044..c8ead52e7e 100644 --- a/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/setupSources.sh +++ b/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/setupSources.sh @@ -26,34 +26,34 @@ if [ ! -d "/home/$xbmcUser/Videos" ]; then chmod 755 /home/$xbmcUser/Videos fi -mkdir -p /home/$xbmcUser/.xbmc/userdata +mkdir -p /home/$xbmcUser/.xbmc/userdata &> /dev/null if [ ! -f /home/$xbmcUser/.xbmc/userdata/sources.xml ] ; then - cat > /home/$xbmcUser/.xbmc/userdata/sources.xml << 'EOF' + cat > /home/$xbmcUser/.xbmc/userdata/sources.xml << EOF <sources> <video> <default pathversion="1"></default> <source> <name>Videos</name> - <path pathversion="1">/home/xbmc/Videos/</path> + <path pathversion="1">/home/$xbmcUser/Videos/</path> </source> <source> <name>TV Shows</name> - <path pathversion="1">/home/xbmc/TV Shows/</path> + <path pathversion="1">/home/$xbmcUser/TV Shows/</path> </source> </video> <music> <default pathversion="1"></default> <source> <name>Music</name> - <path pathversion="1">/home/xbmc/Music/</path> + <path pathversion="1">/home/$xbmcUser/Music/</path> </source> </music> <pictures> <default pathversion="1"></default> <source> <name>Music</name> - <path pathversion="1">/home/xbmc/Pictures/</path> + <path pathversion="1">/home/$xbmcUser/Pictures/</path> </source> </pictures> </sources> |