From 1d9d9e30f5ca59cb0bea7726084da1bd1ea9f28f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 10 Apr 2012 00:14:01 -0300 Subject: filesystem: modprobe.d.usb-load-ehci-first fixed --- libre/filesystem/PKGBUILD | 6 +++--- libre/filesystem/filesystem.install | 4 ++-- 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 # Maintainer (Parabola): fauno # Contributor (Parabola): André Silva 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: [options] _addgroup() { - if ! getent group "$1"; then + if ! getent group "$1" >/dev/null; then groupadd "$@" >/dev/null fi } # args: [options] _adduser() { - if ! getent passwd "$1"; then + if ! getent passwd "$1" >/dev/null; then useradd "$@" >/dev/null fi } -- cgit v1.2.3