#! /usr/bin/env sh

if [[ "$(date +%d)" -le "$(date -d yesterday +%d)" ]]
then
	echo "need to create a new image"
else
	echo "append to the existing image"
fi
