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 | |
parent | 158b35a711165b70a2b718b01cbc261ba50a5cf1 (diff) | |
parent | 7e431bf14475a0539a570ce18d290d04427c194c (diff) | |
download | abslibre-5f338c195e399f2c2486e06be0851d4f597162d7.tar.gz abslibre-5f338c195e399f2c2486e06be0851d4f597162d7.tar.bz2 abslibre-5f338c195e399f2c2486e06be0851d4f597162d7.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/filesystem')
-rw-r--r-- | libre/filesystem/PKGBUILD | 6 | ||||
-rw-r--r-- | 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 <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 } |