diff options
author | msun <msun00@yandex.ru> | 2016-02-04 10:38:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-02-09 17:20:33 +0000 |
commit | 0eefec77f9a34bc43d9bd32d43d42ba746bc2af1 (patch) | |
tree | bbda493f67a5bc2f3d6363c3266fc624d94bf922 /testing/at/at.pre-install | |
parent | 2f61c1d9268c76e386a63145b02b5cc8d578b530 (diff) | |
download | aports-0eefec77f9a34bc43d9bd32d43d42ba746bc2af1.tar.bz2 aports-0eefec77f9a34bc43d9bd32d43d42ba746bc2af1.tar.xz |
testing/at: new aport
http://packages.qa.debian.org/a/at.html
AT and batch delayed command scheduling utility and daemon
Diffstat (limited to 'testing/at/at.pre-install')
-rw-r--r-- | testing/at/at.pre-install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/at/at.pre-install b/testing/at/at.pre-install new file mode 100644 index 0000000000..058a9d0ca7 --- /dev/null +++ b/testing/at/at.pre-install @@ -0,0 +1,16 @@ +#!/bin/sh + +if ! getent group at >/dev/null; then + addgroup -S at 2>/dev/null +fi + +if ! getent passwd at >/dev/null; then + adduser -H -s /bin/false -D at 2>/dev/null +fi + +if [ -z `echo " $(groups at) " | grep ' at '`] ; then + addgroup at at 2>/dev/null +fi + +exit 0 + |