From ee4de92046628039dd091597bd75c174d510674c Mon Sep 17 00:00:00 2001 From: lesibel Date: Tue, 10 Nov 2009 14:49:43 +0100 Subject: Ajout de qgis#1.3.0-1 --- extra/qgis/qgis.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 extra/qgis/qgis.install (limited to 'extra/qgis/qgis.install') 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 . +} + -- cgit v1.2.3-70-g09d2