Some minor changes.
This commit is contained in:
@@ -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
|
||||
@@ -299,9 +324,9 @@ if [[ -n "$CURRENT_VERSION" ]] ; then
|
||||
|
||||
echo ""
|
||||
|
||||
echononl " Remove directory '${working_dir}/log-${CURRENT_VERSION}'.."
|
||||
if [[ -d "${working_dir}/log-${CURRENT_VERSION}" ]] ; then
|
||||
rm -r ${working_dir}/log-${CURRENT_VERSION} > $tmp_log_file 2>&1
|
||||
echononl " Remove directory '${working_dir}/log-percona-${CURRENT_VERSION}'.."
|
||||
if [[ -d "${working_dir}/log-percona-${CURRENT_VERSION}" ]] ; then
|
||||
rm -r ${working_dir}/log-percona-${CURRENT_VERSION} > $tmp_log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo_failed
|
||||
error "$(cat $tmp_log_file)"
|
||||
@@ -313,8 +338,8 @@ if [[ -n "$CURRENT_VERSION" ]] ; then
|
||||
fi
|
||||
|
||||
echononl " Remove directory '${working_dir}/percona-server-${CURRENT_VERSION}'.."
|
||||
if [[ -d "${working_dir}/mysql-${CURRENT_VERSION}" ]] ; then
|
||||
rm -r ${working_dir}/mysql-${CURRENT_VERSION} > $tmp_log_file 2>&1
|
||||
if [[ -d "${working_dir}/percona-server-${CURRENT_VERSION}" ]] ; then
|
||||
rm -r ${working_dir}/percona-server-${CURRENT_VERSION} > $tmp_log_file 2>&1
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
echo_failed
|
||||
error "$(cat $tmp_log_file)"
|
||||
|
||||
Reference in New Issue
Block a user