From e5a687598c268358b72a596293327ada5ae9c93e Mon Sep 17 00:00:00 2001 From: lcapriotti Date: Tue, 7 Dec 2010 16:03:02 +0000 Subject: [PATCH] remove distro description customisation git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@35588 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- tools/Linux/packaging/debian/xbmc-live.postrm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/Linux/packaging/debian/xbmc-live.postrm b/tools/Linux/packaging/debian/xbmc-live.postrm index 69cbf768b2b05..9083846406e0c 100755 --- a/tools/Linux/packaging/debian/xbmc-live.postrm +++ b/tools/Linux/packaging/debian/xbmc-live.postrm @@ -103,6 +103,10 @@ fi rm /etc/init/xbmc-live-install.conf >/dev/null fi + # Remove distro description customization + if ! grep -i -q XBMCLive /etc/lsb-release ; then + sed -i -e 's/\(\d*\) - XBMCLive Dharma/\1/' /etc/lsb-release + fi # Remove from grub's kernel entries if [ -f /boot/grub/menu.lst ]; then