/usr/share/doc/pbuilder/examples/C11screen is in pbuilder 0.215ubuntu7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | #!/bin/bash
# example file to be used with --hookdir
#
# invoke GNU screen if build fails.
export debian_chroot="pbuilder"
apt-get install -y "${APTGETOPT[@]}" screen vim less
cd /tmp/buildd/*/debian/..
screen </dev/tty > /dev/tty 2> /dev/tty
|