summaryrefslogtreecommitdiff
path: root/libre/filesystem/filesystem.install
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 20:31:43 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-04-11 20:31:43 -0400
commit5f338c195e399f2c2486e06be0851d4f597162d7 (patch)
tree4c144c54bbd85fa2e641d219275045bae11cb4c3 /libre/filesystem/filesystem.install
parent158b35a711165b70a2b718b01cbc261ba50a5cf1 (diff)
parent7e431bf14475a0539a570ce18d290d04427c194c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/filesystem/filesystem.install')
-rw-r--r--libre/filesystem/filesystem.install4
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
}