image_builder: success if success

This commit is contained in:
Artem Smirnov
2018-08-23 20:34:15 +03:00
parent d9578d3c32
commit d7418e80c2

View File

@@ -36,8 +36,8 @@ get_image() {
if [ ! -e "${BUILD_DIR}/${RPI_ZIP_NAME}" ];
then
echo_stamp "1. Downloading original Linux distribution"
wget -nv -O ${BUILD_DIR}/${RPI_ZIP_NAME} $2 > /dev/null
echo_stamp "Downloading complete" "SUCCESS"
wget -nv -O ${BUILD_DIR}/${RPI_ZIP_NAME} $2 > /dev/null \
&& echo_stamp "Downloading complete" "SUCCESS"
else
echo_stamp "1. Linux distribution already donwloaded"
fi