source: pkg/raul/non-free/fglrx-driver/trunk/debian/fglrx-glx.postrm @ 7493

Revision 7493, 858 bytes checked in by alanbach-guest, 3 years ago (diff)
  • Re-sync'd with Debian 1:10-9-3 and added 2.6.37 patch
Line 
1#!/bin/sh
2# Copyright (C) 2002-2006 Flavio Stanchina
3# Licensed under the GNU General Public License, version 2.
4
5set -e
6
7# summary of how this script can be called:
8#        * <postrm> 'remove'
9#        * <postrm> 'purge'
10#        * <old-postrm> 'upgrade' <new-version>
11#        * <new-postrm> 'failed-upgrade' <old-version>
12#        * <new-postrm> 'abort-install'
13#        * <new-postrm> 'abort-install' <old-version>
14#        * <new-postrm> 'abort-upgrade' <old-version>
15#        * <disappearer's-postrm> 'disappear' <r>overwrit>r> <new-version>
16# for details, see /usr/share/doc/packaging-manual/
17
18
19
20case "$1" in
21    remove|purge|disappear)
22                dpkg-divert --package fglrx-glx --rename --remove /usr/lib/libGL.so.1.2
23                dpkg-divert --package fglrx-glx --rename --remove /usr/lib/libGL.so.1
24                ldconfig
25    ;;
26
27    *)
28        exit 0
29    ;;
30esac
31
32#DEBHELPER#
33
Note: See TracBrowser for help on using the repository browser.