summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2018-10-29 20:25:01 +0100
committerHolger Paradies <retabell@gmx.de>2018-11-12 19:51:47 +0100
commita62900240efaa87ce30dc85714971b4c54960664 (patch)
treec2d992aa8a2436305397a6824fcfeb5b8a84061d /config/chroot_local-hooks
parentfd25908cd2d9352c5568b13fc4cb4281b706efed (diff)
downloadkanotix-a62900240efaa87ce30dc85714971b4c54960664.zip
kanotix-a62900240efaa87ce30dc85714971b4c54960664.tar.gz
remove skype and add skypeforlinux list
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/00-sources.list4
-rwxr-xr-xconfig/chroot_local-hooks/skype-4.38
2 files changed, 4 insertions, 8 deletions
diff --git a/config/chroot_local-hooks/00-sources.list b/config/chroot_local-hooks/00-sources.list
index 88609e8..e3affbd 100755
--- a/config/chroot_local-hooks/00-sources.list
+++ b/config/chroot_local-hooks/00-sources.list
@@ -11,4 +11,8 @@ if [ -f /etc/apt/sources.list.d/steam.list ]; then
rm -f /etc/apt/sources.list.d/steam.list
fi
+if [ -f /etc/apt/sources.list.d/skype-stable.list ]; then
+ rm -f /etc/apt/sources.list.d/skype-stable.list
+fi
+
sed -i -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" /etc/apt/sources.list
diff --git a/config/chroot_local-hooks/skype-4.3 b/config/chroot_local-hooks/skype-4.3
deleted file mode 100755
index 134fe86..0000000
--- a/config/chroot_local-hooks/skype-4.3
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-for file in /root/config/*; do [ -r $file ] && . $file; done
-
-dpkg -l | grep -qw skype | grep -qw 4.3 && exit 0
-
-if [ -x /usr/bin/skype ]; then
- sed -i 's/4\(\.3\.0\.3\)/8\1/' /usr/bin/skype
-fi