diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-07 10:03:12 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-07 10:03:12 +0100 |
commit | a65ccd8e22edeee45827b8d9bb6373c262e56068 (patch) | |
tree | 5558932900171031af960ee360ce7c1a5a35e777 /config/chroot_local-hooks/02-skype | |
parent | 1c5bbbd17ecb29a4b292340925c22627eb7cc1ef (diff) | |
download | kanotix-a65ccd8e22edeee45827b8d9bb6373c262e56068.zip kanotix-a65ccd8e22edeee45827b8d9bb6373c262e56068.tar.gz |
added skype/libv4l wheezy/multiarch support
Diffstat (limited to 'config/chroot_local-hooks/02-skype')
-rwxr-xr-x | config/chroot_local-hooks/02-skype | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config/chroot_local-hooks/02-skype b/config/chroot_local-hooks/02-skype index 9ff7ef4..7a84333 100755 --- a/config/chroot_local-hooks/02-skype +++ b/config/chroot_local-hooks/02-skype @@ -1,7 +1,8 @@ #!/bin/sh -exit - if [ -f /usr/share/applications/skype.desktop ]; then - sed -i 's|\(Exec\)=.*|\1=XLIB_SKIP_ARGB_VISUALS=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=XLIB_SKIP_ARGB_VISUALS=1 LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype|' /usr/share/applications/skype.desktop || true + for lib in /usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/lib32/libv4l/v4l1compat.so /usr/lib/libv4l/v4l1compat.so + do + [ ! -r "$lib" ] && continue + sed -i 's|\(Exec\)=.*|\1=XLIB_SKIP_ARGB_VISUALS=1 LD_PRELOAD='"$lib"' skype|' /usr/share/applications/skype.desktop || true + done fi |