blob: 6f46433a5b14c1ed2f3d886afc8a8739a065de64 (
plain)
1
2
3
4
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
|