Add prompt msg about Dockerfile updated in update.sh
This commit is contained in:
parent
2c75ae92f8
commit
95bf09c7fd
|
@ -178,6 +178,13 @@ function update_node_version() {
|
|||
if [ -f "${dockerfile}-tmp-e" ]; then
|
||||
rm "${dockerfile}-tmp-e"
|
||||
fi
|
||||
|
||||
if diff -q "${dockerfile}-tmp" "${dockerfile}" > /dev/null; then
|
||||
echo "${dockerfile} is already up to date!"
|
||||
else
|
||||
echo "${dockerfile} updated!"
|
||||
fi
|
||||
|
||||
mv -f "${dockerfile}-tmp" "${dockerfile}"
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue