diff options
author | lcapriotti <lcapriotti@svn> | 2010-11-05 12:04:27 +0000 |
---|---|---|
committer | lcapriotti <lcapriotti@svn> | 2010-11-05 12:04:27 +0000 |
commit | d8c41358cf305febeb84298a1e0f1b5bc64d1635 (patch) | |
tree | 1d4932e41f6250bab590153d216c6aa7c77c3505 /tools | |
parent | 2574962db8c9fe5adb7be6416d80f2791d21b0e1 (diff) |
incorrectly hardcoded user
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35168 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Linux/packaging/debian/xbmc-live.upstart | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Linux/packaging/debian/xbmc-live.upstart b/tools/Linux/packaging/debian/xbmc-live.upstart index 5ddffc1728..7539d48830 100644 --- a/tools/Linux/packaging/debian/xbmc-live.upstart +++ b/tools/Linux/packaging/debian/xbmc-live.upstart @@ -79,10 +79,10 @@ pre-start script done fi - if [ -f /home/xbmc/.xsession ] ; then - rm /home/xbmc/.xsession + if [ -f /home/$xbmcUser/.xsession ] ; then + rm /home/$xbmcUser/.xsession fi - if [ -f /tmp/noRestartXBMC ] ; then + if [ -f /tmp/noRestartXBMC ] ; then rm /tmp/noRestartXBMC fi end script |