~pali/+junk/mesa-lts-saucy-packaging

« back to all changes in this revision

Viewing changes to debian/libgl1-mesa-glx-lts-saucy.prerm.in

  • Committer: Pali Rohár
  • Date: 2014-04-11 10:59:06 UTC
  • Revision ID: pali.rohar@gmail.com-20140411105906-qk25ix27pd6rdho8
Import debian packaging for mesa-lts-saucy version 9.2.1-1ubuntu3~precise1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
THIS_PACKAGE=libgl1-mesa-glx
 
6
THIS_SCRIPT=prerm
 
7
 
 
8
case "$1" in
 
9
  remove)
 
10
  # Use alternatives to make it easier to switch between Mesa and 3rd party modules
 
11
  update-alternatives --remove ${DEB_HOST_MULTIARCH}_gl_conf /usr/lib/${DEB_HOST_MULTIARCH}/mesa/ld.so.conf
 
12
 
 
13
  # explicit ldconfig due to alternatives
 
14
  ldconfig
 
15
 
 
16
esac
 
17
 
 
18
#DEBHELPER#
 
19
 
 
20
exit 0
 
21
 
 
22
# vim:set ai et sw=2 ts=2 tw=80:
 
23