summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/02-skype
diff options
context:
space:
mode:
authorroot <root@dasajuma.(none)>2010-09-02 10:26:04 +0200
committerroot <root@dasajuma.(none)>2010-09-02 10:26:04 +0200
commit8e0d211bf674953f2830830e27cb80a8b720ef17 (patch)
treea7814d6dd37b84476628e51d9fcb5f3ea98bba8e /config/chroot_local-hooks/02-skype
downloadkanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.zip
kanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.tar.gz
Initial commit
Diffstat (limited to 'config/chroot_local-hooks/02-skype')
-rwxr-xr-xconfig/chroot_local-hooks/02-skype5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/02-skype b/config/chroot_local-hooks/02-skype
new file mode 100755
index 0000000..6f46433
--- /dev/null
+++ b/config/chroot_local-hooks/02-skype
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ -f /usr/share/applications/skype.desktop ]; then
+sed -i 's|\(Exec\)=.*|\1=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype|' /usr/share/applications/skype.desktop || true
+[ -r /usr/lib32/libv4l/v4l1compat.so ] && sed -i 's|\(Exec\)=.*|\1=LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype|' /usr/share/applications/skype.desktop || true
+fi