summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2017-11-18 13:44:38 +0100
committerHolger Paradies <retabell@gmx.de>2017-11-18 13:44:38 +0100
commit4c3a174779e1d9ea9df5a531c38ed1b9d73a7d42 (patch)
treebe9c161a76a433652cd7696d619445398b7db18f /config/chroot_local-hooks
parent5d00a1834e32bb6d2f243ee14bf5b6a2715f921d (diff)
downloadkanotix-4c3a174779e1d9ea9df5a531c38ed1b9d73a7d42.zip
kanotix-4c3a174779e1d9ea9df5a531c38ed1b9d73a7d42.tar.gz
skype4 fake version number
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/skype-4.38
1 files changed, 8 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/skype-4.3 b/config/chroot_local-hooks/skype-4.3
new file mode 100755
index 0000000..134fe86
--- /dev/null
+++ b/config/chroot_local-hooks/skype-4.3
@@ -0,0 +1,8 @@
+#!/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