post_install() { pre_remove } post_upgrade() { pre_remove } pre_remove() { sed -e '/\/opt\/grass-*\/lib/d' -i /etc/ld.so.conf }