summaryrefslogtreecommitdiff
path: root/libre/filesystem/filesystem.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-10 00:14:01 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-10 00:14:01 -0300
commit1d9d9e30f5ca59cb0bea7726084da1bd1ea9f28f (patch)
treee895ff59c95a860764e69ccbb8d3a5ab58ec4c1b /libre/filesystem/filesystem.install
parentdc1afb27be05104cb1772e0e73636649014084fc (diff)
filesystem: modprobe.d.usb-load-ehci-first fixed
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
}