bash : show result on pack.

This commit is contained in:
Dmitry Voronin 2023-11-02 23:52:05 +03:00
parent e9043a6579
commit 1ca04a7c16

View file

@ -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.