1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
post_install() { sed -e '/\/opt\/qgis\/lib/d' -i /etc/ld.so.conf echo '/opt/qgis/lib' >> etc/ld.so.conf sbin/ldconfig -r . } post_upgrade() { post_install $1 } pre_remove() { sed -e '/\/opt\/qgis\/lib/d' -i /etc/ld.so.conf sbin/ldconfig -r . }