summaryrefslogtreecommitdiffstats
path: root/extra/qgis/qgis.install
blob: b443ef0b3b48d420303606c382b6342af2104f9b (plain)
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 .
}