Remove also file '/etc/ld.so.conf.d/mysql.conf' if exists.
This commit is contained in:
parent
11c3781854
commit
70ecbee504
@ -229,6 +229,32 @@ fi
|
||||
|
||||
echo ""
|
||||
|
||||
echononl " Remove '/etc/ld.so.conf.d/mysql.conf'.."
|
||||
if [[ -f "/etc/ld.so.conf.d/mysql.conf" ]]; then
|
||||
rm /etc/ld.so.conf.d/mysql.conf > $tmp_log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo_failed
|
||||
error "$(cat $tmp_log_file)"
|
||||
else
|
||||
echo_ok
|
||||
fi
|
||||
|
||||
echononl " Run ldconfig - configure dynamic linker run-time bindings .."
|
||||
ldconfig -V > $tmp_log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo_failed
|
||||
error "$(cat $tmp_log_file)"
|
||||
else
|
||||
echo_ok
|
||||
fi
|
||||
else
|
||||
echo_skipped
|
||||
fi
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
|
||||
_failed=false
|
||||
echononl " Remove MariaDB data directory"
|
||||
if $remove_data_dir ; then
|
||||
|
@ -227,6 +227,31 @@ else
|
||||
fi
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
echononl " Remove '/etc/ld.so.conf.d/mysql.conf'.."
|
||||
if [[ -f "/etc/ld.so.conf.d/mysql.conf" ]]; then
|
||||
rm /etc/ld.so.conf.d/mysql.conf > $tmp_log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo_failed
|
||||
error "$(cat $tmp_log_file)"
|
||||
else
|
||||
echo_ok
|
||||
fi
|
||||
|
||||
echononl " Run ldconfig - configure dynamic linker run-time bindings .."
|
||||
ldconfig -V > $tmp_log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo_failed
|
||||
error "$(cat $tmp_log_file)"
|
||||
else
|
||||
echo_ok
|
||||
fi
|
||||
else
|
||||
echo_skipped
|
||||
fi
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
_failed=false
|
||||
|
Loading…
Reference in New Issue
Block a user