summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
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