diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-04-11 20:31:43 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-04-11 20:31:43 -0400 |
commit | 5f338c195e399f2c2486e06be0851d4f597162d7 (patch) | |
tree | 4c144c54bbd85fa2e641d219275045bae11cb4c3 /libre/filesystem/filesystem.install | |
parent | 158b35a711165b70a2b718b01cbc261ba50a5cf1 (diff) | |
parent | 7e431bf14475a0539a570ce18d290d04427c194c (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/filesystem/filesystem.install')
-rw-r--r-- | libre/filesystem/filesystem.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libre/filesystem/filesystem.install b/libre/filesystem/filesystem.install index 38d21a85b..8cef64bb6 100644 --- a/libre/filesystem/filesystem.install +++ b/libre/filesystem/filesystem.install @@ -10,14 +10,14 @@ post_install() { # args: <group> [options] _addgroup() { - if ! getent group "$1"; then + if ! getent group "$1" >/dev/null; then groupadd "$@" >/dev/null fi } # args: <group> [options] _adduser() { - if ! getent passwd "$1"; then + if ! getent passwd "$1" >/dev/null; then useradd "$@" >/dev/null fi } |