post_install() { sbin/ldconfig -r . } post_upgrade() { if [ "$(vercmp $2 2.9-2)" -lt 0 ]; then sed -i -e '/\/usr\/lib\/libfakechroot/d' etc/ld.so.conf fi sbin/ldconfig -r . } post_remove() { sbin/ldconfig -r . }