diff options
author | Christian Pointner <equinox@helsinki.at> | 2011-04-05 00:40:49 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2011-04-05 00:40:49 (GMT) |
commit | 688222650cdfb2d08c5a132c470c14e384a1ee3e (patch) | |
tree | 732dc3f9a616993fc11a7872161dcc72682bcb65 /rhnop-client/debian/postinst | |
parent | 20d8bb7742942cd54d6ff143d0c65e957655d398 (diff) |
added inital debian package
Diffstat (limited to 'rhnop-client/debian/postinst')
-rwxr-xr-x | rhnop-client/debian/postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rhnop-client/debian/postinst b/rhnop-client/debian/postinst new file mode 100755 index 0000000..be17051 --- /dev/null +++ b/rhnop-client/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh +# postinst script for rhnop-client + +set -e + +if [ "$1" = "configure" ]; then + adduser --quiet --system --group --no-create-home --home /var/run/rhnop rhnop + chgrp rhnop /etc/rhnop/nopcollectd.*.conf +fi |