Skip to content

Commit

Permalink
Backport: r35583
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@35584 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
lcapriotti committed Dec 6, 2010
1 parent 60e37d1 commit 6731ebd
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/Linux/packaging/debian/xbmc-live.postinst
Expand Up @@ -203,9 +203,6 @@ ENDOFBLOCK
fi
done
fi
if ! grep -i -q XBMCLive /etc/lsb-release ; then
sed -i -e "/^DISTRIB_DESCRIPTION/s/\"\(.*\)\"/\"\1 - XBMCLive Dharma\"/" /etc/lsb-release
fi

# Add <xbmc=autostart,nodiskmount,setvolume loglevel=0> to grub's kernel entries
if [ -f /boot/grub/menu.lst ]; then
Expand Down
@@ -0,0 +1,25 @@
#!/bin/bash

# Copyright (C) 2005-2008 Team XBMC
# http://www.xbmc.org
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with XBMC; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html

echo ""
echo "Customising distro description..."
echo ""

sed -i -e "/^DISTRIB_DESCRIPTION/s/\"\(.*\)\"/\"\1 - XBMCLive Dharma\"/" /etc/lsb-release

0 comments on commit 6731ebd

Please sign in to comment.