index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-master-status-from-mysql | 8 |
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index d1985e7..7cf1b95 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -245,3 +245,11 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \ $ a </body></html> ' | \ sponge "${webserver_directory}/mysql-sanity.html" + +if [ -s "${webserver_directory}/mysql-sanity.html" ] && \ + [ ! -s "${work_dir}/build-master-sanity" ]; then + printf 'deep42thought: my database is dirty again ...\n' | \ + sponge "${irc_dir}/#archlinux-ports/in" + echo 'build master is insane' > \ + "${work_dir}/build-master-sanity" +fi |