summaryrefslogtreecommitdiff
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
parentdc1afb27be05104cb1772e0e73636649014084fc (diff)
filesystem: modprobe.d.usb-load-ehci-first fixed
-rw-r--r--libre/filesystem/PKGBUILD6
-rw-r--r--libre/filesystem/filesystem.install4
2 files changed, 5 insertions, 5 deletions
diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD
index e9282b5aa..90b39d121 100644
--- a/libre/filesystem/PKGBUILD
+++ b/libre/filesystem/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 150594 2012-02-18 18:25:33Z tomegun $
+# $Id: PKGBUILD 155345 2012-04-01 23:43:12Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
pkgname=filesystem
pkgver=2012.2
-pkgrel=2
+pkgrel=4
pkgdesc='Base filesystem for Parabola'
arch=('any')
license=('GPL')
@@ -62,7 +62,7 @@ package() {
install -m600 ${srcdir}/${f} etc/
done
touch etc/arch-release
- install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first lib/modprobe.d/usb-load-ehci-first.conf
+ install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first usr/lib/modprobe.d/usb-load-ehci-first.conf
# setup /var
for d in cache/man local opt log/old lib/misc empty run; do
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
}