From 6496758acccfeebb69c05ccdec00d230df8d77f3 Mon Sep 17 00:00:00 2001 From: sibel Date: Thu, 24 Jun 2010 18:15:27 +0200 Subject: grass, déplacé dans test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/grass/grass.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/grass/grass.install (limited to 'test/grass/grass.install') diff --git a/test/grass/grass.install b/test/grass/grass.install new file mode 100644 index 000000000..116f57cc6 --- /dev/null +++ b/test/grass/grass.install @@ -0,0 +1,15 @@ +post_install() { + sed -e '/\/opt\/grass-*/d' -i /etc/ld.so.conf + echo '/opt/grass/lib' >> etc/ld.so.conf + sbin/ldconfig -r . +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + sed -e '/\/opt\/grass-*\/lib/d' -i /etc/ld.so.conf + sbin/ldconfig -r . +} + -- cgit v1.2.3-70-g09d2