summaryrefslogtreecommitdiff
path: root/libre/filesystem
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-04-10 14:26:31 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-04-10 14:26:31 -0300
commit0281f473276b0a6278686a8ecaaf10b39f1d3828 (patch)
tree5556a86c4d8c5c7d687aeadbec48ca5a1ce19d7b /libre/filesystem
parent331d47322498c7ea36f5535c566eecd0e82a8916 (diff)
parent3db2f39f6ac41f10a4aabe33b4d4ee7b97a9fbef (diff)
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to 'libre/filesystem')
-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
}