- cp /usr/share/doc/stagit/style.css .
- git -C ${dir} fetch --tags
- echo $(date -Iseconds) ' | ' ${dir} | tee -a ${2}
- echo $(tail -n 1500 ${2}) > ${2}
+ cp "$1/logo.png" .
+ ln -s logo.png favicon.png
+ find . -type f \( -name '*.html' -or -name '*.xml' \) | \
+ while read i ; do
+ minify ${i} > ${i}.tmp
+ mv ${i}.tmp ${i}
+ done
+ git -C ${dir} fetch --tags
+ echo $(date -Iseconds) ' | ' ${dir} | tee -a ${2}
+ echo $(tail -n 1500 ${2}) > ${2}
+ done
+ sleep ${4:-600}