Fixed low-res photos getting re-created every run.

It was missing a touch to the lastrun file in case of success. Now added.
master
Taha Ahmed 5 years ago
parent 924ce8de2b
commit 32fa1b848f

@ -160,6 +160,9 @@ if [ $# -eq 1 ]; then
echo "<thesis> Shrinking $largephotobasename.jpg"
convert $largephotoname.jpg -define jpeg:extent=300kb $largephotoname.jpg
done
# update the modification and access time on the photosastrun file
touch "$photoslastrun"
fi
# short delay to enable on-screen reading of previous echo
simpledelay.sh 2

Loading…
Cancel
Save