~ubuntu-branches/ubuntu/trusty/glx-alternatives/trusty

« back to all changes in this revision

Viewing changes to debian/glx-diversions.postrm

  • Committer: Package Import Robot
  • Author(s): Andreas Beckmann
  • Date: 2013-05-05 15:25:15 UTC
  • mfrom: (2.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130505152515-ouel4r5hvhbmebkq
Tags: 0.3.0
* glx-diversions: Divert libGL.so.1.2.0 from MESA 9.x.  (Closes: #704914)
* Drop maintainer script parts intended for updates from versions predating
  wheezy.
* Use canonical Vcs-* URLs.
* Bump Standards-Version to 3.9.4. No changes needed. 
* Switch to debhelper 9.
* Update my email address and remove DMUA. 
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        done
34
34
}
35
35
 
36
 
case "$1" in
37
 
    remove)
 
36
if [ "$1" = "remove" ]; then
38
37
 
39
38
        # restore libGL.so* from libgl1-mesa-{glx,dev}, diverted to /usr/lib/mesa-diverted
 
39
        remove_multiarch_diversion libGL.so.1.2.0 /usr/lib /usr/lib/mesa-diverted
40
40
        remove_multiarch_diversion libGL.so.1.2 /usr/lib /usr/lib/mesa-diverted
41
41
        remove_multiarch_diversion libGL.so.1 /usr/lib /usr/lib/mesa-diverted
42
42
        remove_multiarch_diversion libGL.so /usr/lib /usr/lib/mesa-diverted
46
46
        done
47
47
        rmdir /usr/lib/mesa-diverted 2>/dev/null || true
48
48
 
49
 
    ;;
50
 
esac
 
49
fi
51
50
 
52
51
 
53
52
#DEBHELPER#
54
 
 
55
 
exit 0