summaryrefslogtreecommitdiff
path: root/debian/libvibrant6-dev.postinst
blob: 82adcf5f587a5d9460351bed021029371e86c803 (plain)
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#