diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-02 06:21:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-02 06:21:32 +0000 |
commit | 0c7345a551feec6fc5b1e156612ab43382734cf7 (patch) | |
tree | 1f709a513a1a13a0e77d49a7d765a0a83d179167 /main/sems/sems.pre-install | |
parent | df747d4c71238ae72b98ae3e46fd64098a049836 (diff) | |
download | aports-0c7345a551feec6fc5b1e156612ab43382734cf7.tar.bz2 aports-0c7345a551feec6fc5b1e156612ab43382734cf7.tar.xz |
main/sems: upgrade to 1.4.0 (moved from testing)
Diffstat (limited to 'main/sems/sems.pre-install')
-rw-r--r-- | main/sems/sems.pre-install | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/sems/sems.pre-install b/main/sems/sems.pre-install index 3e82578a3..f12669408 100644 --- a/main/sems/sems.pre-install +++ b/main/sems/sems.pre-install @@ -1,5 +1,10 @@ #!/bin/sh -adduser -H -h /var/empty -s /bin/false -D sems 2>/dev/null +if ! getent group sems >/dev/null; then + addgroup -S sems +fi +if ! getent passwd sems >/dev/null; then + adduser -S -H -h /var/empty -s /bin/false -D -G sems sems 2>/dev/null +fi exit 0 |