From 9bc702311f45bd061ef66b5944c960d1af44eb97 Mon Sep 17 00:00:00 2001
From: Joerg Schirottke <master@kanotix.com>
Date: Tue, 19 Nov 2013 17:43:43 +0100
Subject: google chrome/earth/talkplugin hacks

---
 .../lib/live/config/9010-hotfixes                  | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/config/chroot_local-includes/lib/live/config/9010-hotfixes b/config/chroot_local-includes/lib/live/config/9010-hotfixes
index 5cf3b53..edd86c4 100755
--- a/config/chroot_local-includes/lib/live/config/9010-hotfixes
+++ b/config/chroot_local-includes/lib/live/config/9010-hotfixes
@@ -43,6 +43,33 @@ sudo perl -pi -e 's/tty/xty/g' /var/run/utmp
 EOF
 chmod +x /home/${LIVE_USERNAME}/.kde/shutdown/kdm-force-shutdown-hack
 
+# google chrome hack
+if [ -x /var/lib/dpkg/info/google-chrome-stable.postinst ]; then
+cat <<EOT >/etc/apt/sources.list.d/google-chrome.list
+### THIS FILE IS AUTOMATICALLY CONFIGURED ###
+# You may comment out this entry, but any other modifications may be lost.
+deb http://dl.google.com/linux/chrome/deb/ stable main
+EOT
+fi
+
+# google earth hack
+if [ -x /var/lib/dpkg/info/google-earth-stable.postinst ]; then
+cat <<EOT >/etc/apt/sources.list.d/google-earth.list
+### THIS FILE IS AUTOMATICALLY CONFIGURED ###
+# You may comment out this entry, but any other modifications may be lost.
+deb http://dl.google.com/linux/earth/deb/ stable main
+EOT
+fi
+
+# google talkplugin hack
+if [ -x /var/lib/dpkg/info/google-talkplugin.postinst ]; then
+cat <<EOT >/etc/apt/sources.list.d/google-talkplugin.list
+### THIS FILE IS AUTOMATICALLY CONFIGURED ###
+# You may comment out this entry, but any other modifications may be lost.
+deb http://dl.google.com/linux/talkplugin/deb/ stable main
+EOT
+fi
+
 # reconfigure console-setup
 rm -f /etc/default/console-setup
 . /etc/default/locale
-- 
cgit v1.0