From 74527c1331a9a375face7aa8011bb11e8affa224 Mon Sep 17 00:00:00 2001 From: kueller Date: Wed, 6 Apr 2011 08:14:57 +0000 Subject: [PATCH] =?UTF-8?q?In=20der=20neuen=20Version=20entf=C3=A4llt=20da?= =?UTF-8?q?s=20mysql=20unterverzeichniss=20im=20lib=20verzeichniss..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_mysql@6066 504e572c-2e33-0410-9681-be2bf7408885 --- tmp/postinstall | 6 +++--- tmp/postremove | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tmp/postinstall b/tmp/postinstall index 904546b..9b0c4ea 100644 --- a/tmp/postinstall +++ b/tmp/postinstall @@ -58,11 +58,11 @@ # # -LIBINST=`grep "/opt/MySQL/lib/mysql" /etc/ld.so.conf` +LIBINST=`grep "/opt/MySQL/lib" /etc/ld.so.conf` if [ ! "$LIBINST" ]; then - echo "/opt/MySQL/lib/mysql" >>/etc/ld.so.conf + echo "/opt/MySQL/lib" >>/etc/ld.so.conf if [ -d /opt/MySQL/lib64 ]; then - echo "/opt/MySQL/lib64/mysql" >>/etc/ld.so.conf + echo "/opt/MySQL/lib64" >>/etc/ld.so.conf fi fi if ! getent passwd mysql 2>&1 >/dev/null; then diff --git a/tmp/postremove b/tmp/postremove index aa7b5d2..0d0b1be 100644 --- a/tmp/postremove +++ b/tmp/postremove @@ -58,8 +58,8 @@ # # -sed -i -e "/\/opt\/MySQL\/lib\/mysql/d" /etc/ld.so.conf -sed -i -e "/\/opt\/MySQL\/lib64\/mysql/d" /etc/ld.so.conf +sed -i -e "/\/opt\/MySQL\/lib/d" /etc/ld.so.conf +sed -i -e "/\/opt\/MySQL\/lib64/d" /etc/ld.so.conf if getent passwd mysql 2>&1 >/dev/null; then userdel mysql fi