summaryrefslogtreecommitdiffstats
path: root/test/grass/grass.install
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-06-24 18:15:27 +0200
committersibel <lesibel at free dot fr>2010-06-24 18:15:27 +0200
commit6496758acccfeebb69c05ccdec00d230df8d77f3 (patch)
treef336e5d74f48d911067f1ccccad5f708430870c4 /test/grass/grass.install
parenta0409a01404a1efe5ade4c06384131e7c8a87777 (diff)
downloadnutyx-pakxe-6496758acccfeebb69c05ccdec00d230df8d77f3.tar.gz
nutyx-pakxe-6496758acccfeebb69c05ccdec00d230df8d77f3.tar.bz2
nutyx-pakxe-6496758acccfeebb69c05ccdec00d230df8d77f3.tar.xz
nutyx-pakxe-6496758acccfeebb69c05ccdec00d230df8d77f3.zip
grass, déplacé dans test
Diffstat (limited to 'test/grass/grass.install')
-rw-r--r--test/grass/grass.install15
1 files changed, 15 insertions, 0 deletions
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 .
+}
+