summaryrefslogtreecommitdiffstats
path: root/extra/qgis/qgis.install
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-10 14:49:43 +0100
committerlesibel <lesibel@free.fr>2009-11-10 14:49:43 +0100
commitee4de92046628039dd091597bd75c174d510674c (patch)
treea1b7ce4bad032af3ffa5a400ff04fe5ad556997a /extra/qgis/qgis.install
parent2c6ca943baa9f5e59d0d0b4d0e66ffbc9ca4e6e1 (diff)
downloadnutyx-extra-ee4de92046628039dd091597bd75c174d510674c.tar.gz
nutyx-extra-ee4de92046628039dd091597bd75c174d510674c.tar.bz2
nutyx-extra-ee4de92046628039dd091597bd75c174d510674c.tar.xz
nutyx-extra-ee4de92046628039dd091597bd75c174d510674c.zip
Ajout de qgis#1.3.0-1
Diffstat (limited to 'extra/qgis/qgis.install')
-rw-r--r--extra/qgis/qgis.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/qgis/qgis.install b/extra/qgis/qgis.install
new file mode 100644
index 000000000..b443ef0b3
--- /dev/null
+++ b/extra/qgis/qgis.install
@@ -0,0 +1,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 .
+}
+