postinst is in pcp-testsuite 3.8.12ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #!/bin/sh -e
getent group pcpqa >/dev/null || groupadd -r pcpqa
getent passwd pcpqa >/dev/null || \
useradd -c "PCP Quality Assurance" -g pcpqa -d /var/lib/pcp -m -r -s /bin/bash pcpqa
chown -R pcpqa:pcpqa /var/lib/pcp/testsuite 2>/dev/null || true
|