CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/packages/extras-buildpkgs/libmali-sunxi-r3p0/debian/libmali-sunxi-r3p0.postinst.in
Views: 3963
#!/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