From 12dedf9ed1ce946f9745a629ab6eb7a758e3df90 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Wed, 12 Feb 2014 22:40:36 +0100 Subject: create steam.list in apt/sources.list.d/steam.list --- config/chroot_local-hooks/00-sources.list | 4 ++++ config/chroot_local-includes/lib/live/config/9010-hotfixes | 8 ++++++++ config/repositories/steam | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list index 976b539..88609e8 100755 --- a/config/chroot_local-hooks/00-sources.list +++ b/config/chroot_local-hooks/00-sources.list @@ -7,4 +7,8 @@ for x in /etc/apt/sources.list.d/*.list; do fi done +if [ -f /etc/apt/sources.list.d/steam.list ]; then + rm -f /etc/apt/sources.list.d/steam.list +fi + sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list diff --git a/config/chroot_local-includes/lib/live/config/9010-hotfixes b/config/chroot_local-includes/lib/live/config/9010-hotfixes index edd86c4..70c3757 100755 --- a/config/chroot_local-includes/lib/live/config/9010-hotfixes +++ b/config/chroot_local-includes/lib/live/config/9010-hotfixes @@ -70,6 +70,14 @@ deb http://dl.google.com/linux/talkplugin/deb/ stable main EOT fi +# steam list hack +if [ -x /var/lib/dpkg/info/steam-launcher.postinst ]; then +cat </etc/apt/sources.list.d/steam.list +deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam +deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam +EOT +fi + # reconfigure console-setup rm -f /etc/default/console-setup . /etc/default/locale diff --git a/config/repositories/steam b/config/repositories/steam index 15e41bb..26cfb32 100644 --- a/config/repositories/steam +++ b/config/repositories/steam @@ -1,2 +1,2 @@ -deb http://repo.steampowered.com/steam/ precise steam -deb-src http://repo.steampowered.com/steam/ precise steam +deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam +deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam -- cgit v1.0