summaryrefslogtreecommitdiffstats
path: root/test/qgis/qgis.install
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:14:17 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:14:17 +0200
commit9f61e0735bd4563a02511625e3b5b72d846f5ef2 (patch)
tree12a19e7d8f187716a2a21c265134f9b5a7dec23d /test/qgis/qgis.install
parentb32be66de1688e78219282eecaf7e26b866dd276 (diff)
downloadnutyx-pakxe-9f61e0735bd4563a02511625e3b5b72d846f5ef2.tar.gz
nutyx-pakxe-9f61e0735bd4563a02511625e3b5b72d846f5ef2.tar.bz2
nutyx-pakxe-9f61e0735bd4563a02511625e3b5b72d846f5ef2.tar.xz
nutyx-pakxe-9f61e0735bd4563a02511625e3b5b72d846f5ef2.zip
qgis, déplacé dans test
Diffstat (limited to 'test/qgis/qgis.install')
-rw-r--r--test/qgis/qgis.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/qgis/qgis.install b/test/qgis/qgis.install
new file mode 100644
index 000000000..b443ef0b3
--- /dev/null
+++ b/test/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 .
+}
+