2014-03-18 21:05:48 -03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-09-23 16:07:29 +01:00
|
|
|
echo "I: making libhybris the default alternatives for @DEB_HOST_MULTIARCH@_egl_conf"
|
|
|
|
update-alternatives --set @DEB_HOST_MULTIARCH@_egl_conf /usr/lib/@DEB_HOST_MULTIARCH@/libhybris-egl/ld.so.conf
|
2014-03-18 21:05:48 -03:00
|
|
|
|
2014-10-11 13:13:13 +02:00
|
|
|
if dpkg -l libmirclient8driver-android 2>/dev/null|grep -q ^ii; then
|
|
|
|
echo "I: making android the default alternatives for @DEB_HOST_MULTIARCH@_mirclient8driver_conf"
|
|
|
|
update-alternatives --set @DEB_HOST_MULTIARCH@_mirclient8driver_conf /usr/lib/@DEB_HOST_MULTIARCH@/client8driver/android/ld.so.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2014-11-27 12:38:17 +01:00
|
|
|
if dpkg -l libmirplatform4driver-android 2>/dev/null|grep -q ^ii; then
|
2014-10-11 13:13:13 +02:00
|
|
|
echo "I: making android the default alternatives for @DEB_HOST_MULTIARCH@_mirplatform3driver_conf"
|
2014-11-27 12:38:17 +01:00
|
|
|
update-alternatives --set @DEB_HOST_MULTIARCH@_mirplatform4driver_conf /usr/lib/@DEB_HOST_MULTIARCH@/platform4driver/android/ld.so.conf
|
2014-10-11 13:13:13 +02:00
|
|
|
fi
|
|
|
|
|
2014-03-18 21:05:48 -03:00
|
|
|
# ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with alternatives.
|
|
|
|
LDCONFIG_NOTRIGGER=y ldconfig
|