From 29ac46a1d15bf70bac6da04e9b474850102f74c2 Mon Sep 17 00:00:00 2001 From: kueller Date: Mon, 3 Jan 2011 10:48:06 +0000 Subject: [PATCH] Neue Version V963 git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_libpri@5933 504e572c-2e33-0410-9681-be2bf7408885 --- tmp/postinstall | 4 ++++ tmp/postremove | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 tmp/postinstall create mode 100644 tmp/postremove 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