diff options
Diffstat (limited to 'debian/libvibrant6-dev.postinst')
-rw-r--r-- | debian/libvibrant6-dev.postinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/libvibrant6-dev.postinst b/debian/libvibrant6-dev.postinst new file mode 100644 index 00000000..82adcf5f --- /dev/null +++ b/debian/libvibrant6-dev.postinst @@ -0,0 +1,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# |