diff options
author | lesibel <lesibel@free.fr> | 2009-11-10 14:44:25 +0100 |
---|---|---|
committer | lesibel <lesibel@free.fr> | 2009-11-10 14:44:25 +0100 |
commit | ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2 (patch) | |
tree | ef53fe9f9046af6d0c0ccb4cab8b36b74cb237ee /extra/grass/grass.install | |
parent | d066b53fd127b21a7edb339b4b0e3c993932ce95 (diff) | |
download | nutyx-extra-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.tar.gz nutyx-extra-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.tar.bz2 nutyx-extra-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.tar.xz nutyx-extra-ab0a5f4562f5dfbef2ff334361874f2dc8c4a9e2.zip |
Ajout de grass#6.3.0-1
Diffstat (limited to 'extra/grass/grass.install')
-rw-r--r-- | extra/grass/grass.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/grass/grass.install b/extra/grass/grass.install new file mode 100644 index 000000000..116f57cc6 --- /dev/null +++ b/extra/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 . +} + |