diff options
Diffstat (limited to 'config/chroot_local-hooks/02-skype')
-rwxr-xr-x | config/chroot_local-hooks/02-skype | 5 |
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 |