X-Git-Url: https://git.piment-noir.org/?p=deb_libhybris.git;a=blobdiff_plain;f=debian%2Flibhybris.postinst.in;fp=debian%2Flibhybris.postinst.in;h=da45afb7e0432fb672df22938c5e1abec8736e0c;hp=0000000000000000000000000000000000000000;hb=4395b8c4430d414035c345cf4c757204b39ac993;hpb=d42e7319e80e2f113a97047d135e749e50348b4f diff --git a/debian/libhybris.postinst.in b/debian/libhybris.postinst.in new file mode 100644 index 0000000..da45afb --- /dev/null +++ b/debian/libhybris.postinst.in @@ -0,0 +1,21 @@ +#!/bin/sh +# Copyright (C) 2007 Mario Limonciello +# Copyright (C) 2009-2011 Canonical Ltd. + +set -e + +PACKAGE_NAME=#DRIVERNAME# +ARCH=`dpkg --print-architecture` + +if [ "$1" = "configure" ]; then + + update-alternatives --force \ + --install /#SYSCONFDIR#/ld.so.conf.d/#DEB_HOST_MULTIARCH#_EGL.conf #DEB_HOST_MULTIARCH#_egl_conf /#LDSOCONF# #ALTPRIORITY# + + # ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with + # alternatives. + LDCONFIG_NOTRIGGER=y ldconfig + +fi + +#DEBHELPER#