summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list4
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/9010-hotfixes8
-rw-r--r--config/repositories/steam4
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 <<EOT >/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