post_install() { grep -q '/opt/kde/lib' etc/ld.so.conf || echo '/opt/kde/lib' >> etc/ld.so.conf } post_upgrade() { post_install } post_remove() { sed -ie '/\/opt\/kde\/lib/d' etc/ld.so.conf }