File: libvibrant6-dev.postinst

package info (click to toggle)
ncbi-tools6 6.1.20090809-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 222,952 kB
  • ctags: 92,767
  • sloc: ansic: 1,297,253; cpp: 6,248; xml: 3,390; sh: 2,981; csh: 488; makefile: 455; perl: 391; lisp: 81
file content (13 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

# Formerly used to support libvibrant6-gl-dev's shenanigans.  (Don't ask.)
olddir=/usr/lib/libvibrant-nogl

if [ "$1" = configure ] && [ -d $olddir ]; then
    echo "Cleaning up obsolete directory $olddir ..."
    rm -f $olddir/libncbicn3d.so.6 $olddir/libvibrant.so.6
    rmdir --ignore-fail-on-non-empty $olddir
fi

#DEBHELPER#