summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/00-sources.list
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2014-02-12 22:40:36 +0100
committerHolger Paradies <retabell@gmx.de>2014-02-12 23:26:21 +0100
commit12dedf9ed1ce946f9745a629ab6eb7a758e3df90 (patch)
tree088b8bab67d77b27371173f61b3979b2777eb91e /config/chroot_local-hooks/00-sources.list
parent09d08a1e1f785fe35f5a69cb89929ac8a57f61a8 (diff)
downloadkanotix-12dedf9ed1ce946f9745a629ab6eb7a758e3df90.zip
kanotix-12dedf9ed1ce946f9745a629ab6eb7a758e3df90.tar.gz
create steam.list in apt/sources.list.d/steam.list
Diffstat (limited to 'config/chroot_local-hooks/00-sources.list')
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list4
1 files changed, 4 insertions, 0 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