In der neuen Version entfällt das mysql unterverzeichniss im lib verzeichniss..
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_mysql@6066 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
d9f253e28a
commit
74527c1331
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user