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