Files

20 lines
478 B
Plaintext
Raw Permalink Normal View History

2026-02-07 20:22:48 +08:00
#!/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