Fix the output for removed plugins

This commit is contained in:
Kevin MacMartin 2016-03-06 20:29:54 -05:00
parent aee57956b0
commit ce0140c3fb

2
update
View file

@ -198,7 +198,7 @@ fi
} }
process_status="$(rm -rf "${plugin:?}")" process_status="$(rm -rf "${plugin:?}")"
if (( ! $? )); then if (( ! $? )); then
printf '%s\n' "$cbg_blue $c_reset$cbg_yellow = $c_reset$(printf '%s\n' "$plugin " | sed -re 's|^(.*)/([^/]*)$|\\e\[1;37m\1/\\e\[1;31m\2\\e\[0m|')" printf '%s\n' "$cbg_blue $c_reset$cbg_yellow = $cfg_white_bold$plugin$c_reset"
else else
error "rm -rf $plugin" "Folder couldn't be deleted" "$process_status" error "rm -rf $plugin" "Folder couldn't be deleted" "$process_status"
exit 1 exit 1