#!/bin/sh -e # # postinst script for the Debian GNU/Linux libgsl0 package # # Written and GPL'ed by Dirk Eddelbuettel #DEBHELPER# case "$1" in configure) # Previous versions installed libgsl in /usr/lib/gsl/ # Due to a typo in gsl (<= 0.5), this might be left over if grep -qs ^/usr/lib/gsl\$ /etc/ld.so.conf then sed '/^\/usr\/lib\/gsl$/d' /etc/ld.so.conf \ > /etc/ld.so.conf.gsl-tmp mv /etc/ld.so.conf.gsl-tmp /etc/ld.so.conf fi ;; upgrade|abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 ;; esac exit 0