commit 29ac46a1d15bf70bac6da04e9b474850102f74c2 Author: kueller Date: Mon Jan 3 10:48:06 2011 +0000 Neue Version V963 git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_libpri@5933 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100644 index 0000000..0af8040 --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,4 @@ +#!/bin/bash + +grep -q asterisk /etc/ld.so.conf || echo >>/etc/ld.so.conf /opt/asterisk/lib +ldconfig diff --git a/tmp/postremove b/tmp/postremove new file mode 100644 index 0000000..d4887bd --- /dev/null +++ b/tmp/postremove @@ -0,0 +1,5 @@ +#!/bin/bash + +sed -i -e "/\/opt\/asterisk\/lib/d" /etc/ld.so.conf +sed -i -e "/\/opt\/asterisk\/lib64/d" /etc/ld.so.conf +ldconfig