bash : show result on pack.
This commit is contained in:
parent
e9043a6579
commit
1ca04a7c16
|
@ -43,6 +43,13 @@ pack()
|
|||
_pack_zip "${@}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# actions on error.
|
||||
if [[ $? = 0 ]]; then
|
||||
echo -e "${color_green}All successful.${color_default}"
|
||||
else
|
||||
echo -e "${color_bred}There were errors.${color_default}"
|
||||
fi
|
||||
}
|
||||
|
||||
# attempt to unpack everything.
|
||||
|
|
Reference in a new issue