Some minor changes.
This commit is contained in:
@@ -299,9 +299,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-mariadb-${CURRENT_VERSION}'.."
|
||||
if [[ -d "${working_dir}/log-mariadb-${CURRENT_VERSION}" ]] ; then
|
||||
rm -r ${working_dir}/log-mariadb-${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