aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux/packaging
diff options
context:
space:
mode:
authorlcapriotti <lcapriotti@svn>2010-10-11 15:13:12 +0000
committerlcapriotti <lcapriotti@svn>2010-10-11 15:13:12 +0000
commit333411cf402529d339d1256333ac6c4333cf1971 (patch)
tree6b9631e36dfb4ecdeea5157944256e7fb230b1f8 /tools/Linux/packaging
parentbd61a9e0731e909a78e15af121d347f99fe4ffa8 (diff)
customize distro description
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34677 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/Linux/packaging')
-rwxr-xr-xtools/Linux/packaging/debian/xbmc-live.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Linux/packaging/debian/xbmc-live.postinst b/tools/Linux/packaging/debian/xbmc-live.postinst
index 0f3c7ca36e..c3c7a7bdcd 100755
--- a/tools/Linux/packaging/debian/xbmc-live.postinst
+++ b/tools/Linux/packaging/debian/xbmc-live.postinst
@@ -192,6 +192,9 @@ ENDOFBLOCK
fi
done
+ if ! grep -i -q XBMCLive /etc/lsb-release ; then
+ sed -i -e "/^DISTRIB_DESCRIPTION/s/\"\(.*\)\"/\"\1 - XBMCLive\"/" /etc/lsb-release
+ fi
# Add <xbmc=autostart,nodiskmount,setvolume loglevel=0> to grub's kernel entries
if [ -f /boot/grub/menu.lst ]; then