~ubuntu-branches/ubuntu/precise/ncbi-tools6/precise

« back to all changes in this revision

Viewing changes to debian/libvibrant6-dev.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-03-27 12:00:15 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050327120015-embhesp32nj73p9r
Tags: 6.1.20041020-3
* Fix FTBFS under GCC 4.0 caused by inconsistent use of "static" on
  functions.  (Closes: #295110.)
* Add a watch file, now that we can.  (Upstream's layout needs version=3.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
# Formerly used to support libvibrant6-gl-dev's shenanigans.  (Don't ask.)
 
5
olddir=/usr/lib/libvibrant-nogl
 
6
 
 
7
if [ "$1" = configure ] && [ -d $olddir ]; then
 
8
    echo "Cleaning up obsolete directory $olddir ..."
 
9
    rm -f $olddir/libncbicn3d.so.6 $olddir/libvibrant.so.6
 
10
    rmdir --ignore-fail-on-non-empty $olddir
 
11
fi
 
12
 
 
13
#DEBHELPER#