Imported Debian patch 0.1.0+git20131207+e452e83-0ubuntu12
[deb_libhybris.git] / debian / libhybris.postinst.in
CommitLineData
4395b8c4
RSA
1#!/bin/sh
2# Copyright (C) 2007 Mario Limonciello
3# Copyright (C) 2009-2011 Canonical Ltd.
4
5set -e
6
7PACKAGE_NAME=#DRIVERNAME#
8ARCH=`dpkg --print-architecture`
9
10if [ "$1" = "configure" ]; then
11
12 update-alternatives --force \
13 --install /#SYSCONFDIR#/ld.so.conf.d/#DEB_HOST_MULTIARCH#_EGL.conf #DEB_HOST_MULTIARCH#_egl_conf /#LDSOCONF# #ALTPRIORITY#
14
15 # ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with
16 # alternatives.
17 LDCONFIG_NOTRIGGER=y ldconfig
18
19fi
20
21#DEBHELPER#