Merge branch 'master' of https://github.com/kmcdonell/pcp into kenj-merge
[pcp.git] / debian / pcp-testsuite.postinst
blob1cc4ced86e2736f9016ea1186c994a2439040a46
1 #!/bin/sh -e
2 #DEBHELPER#
4 getent group pcpqa >/dev/null || groupadd -r pcpqa
5 getent passwd pcpqa >/dev/null || \
6 useradd -c "PCP Quality Assurance" -g pcpqa -d /var/lib/pcp/testsuite -m -r -s /bin/bash pcpqa
7 chown -RH pcpqa:pcpqa /var/lib/pcp/testsuite 2>/dev/null || true