diff options
Diffstat (limited to 'debian/pcp-testsuite.postinst')
-rw-r--r-- | debian/pcp-testsuite.postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/pcp-testsuite.postinst b/debian/pcp-testsuite.postinst new file mode 100644 index 0000000..97e86f1 --- /dev/null +++ b/debian/pcp-testsuite.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e +#DEBHELPER# + +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 |