first commit
This commit is contained in:
19
external/packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.postinst.in
vendored
Normal file
19
external/packages/extras-buildpkgs/libmali-sunxi-r3p0.old/debian/libmali-sunxi-r3p0.postinst.in
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
DISTRIBUTION="${distribution}"
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
modprobe -q mali || true
|
||||
which udevadm > /dev/null && udevadm trigger --action=add --sysname-match=mali || true
|
||||
;;
|
||||
|
||||
configure)
|
||||
[ "Ubuntu" = "$DISTRIBUTION" ] && update-alternatives --force --install /etc/ld.so.conf.d/${DEB_HOST_MULTIARCH}_EGL.conf \
|
||||
${DEB_HOST_MULTIARCH}_egl_conf /usr/lib/${DEB_HOST_MULTIARCH}/${private_dir}/ld.so.conf 600
|
||||
LDCONFIG_NOTRIGGER=y ldconfig
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user