summaryrefslogtreecommitdiff
path: root/community-testing
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing')
-rw-r--r--community-testing/cdfs/PKGBUILD4
-rw-r--r--community-testing/vhba-module/PKGBUILD4
-rw-r--r--community-testing/vhba-module/vhba-module.install15
3 files changed, 11 insertions, 12 deletions
diff --git a/community-testing/cdfs/PKGBUILD b/community-testing/cdfs/PKGBUILD
index 7f4d6d8ba..519ab7394 100644
--- a/community-testing/cdfs/PKGBUILD
+++ b/community-testing/cdfs/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 74279 2012-07-23 12:36:00Z tpowa $
+# $Id: PKGBUILD 74544 2012-07-30 13:38:15Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
pkgname=cdfs
pkgver=2.6.27
-pkgrel=25
+pkgrel=26
pkgdesc="File system module that 'exports' all tracks and boot images on a CD as normal files."
arch=(i686 x86_64)
url="http://www.elis.UGent.be/~ronsse/cdfs/"
diff --git a/community-testing/vhba-module/PKGBUILD b/community-testing/vhba-module/PKGBUILD
index cc8d2ef4d..fbe5b31a7 100644
--- a/community-testing/vhba-module/PKGBUILD
+++ b/community-testing/vhba-module/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 74284 2012-07-23 12:36:47Z tpowa $
+# $Id: PKGBUILD 74539 2012-07-30 09:22:20Z heftig $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Charles Lindsay <charles@chaoslizard.org>
@@ -6,7 +6,7 @@
pkgname=vhba-module
pkgver=20120422
_extramodules=extramodules-3.5-ARCH
-pkgrel=5
+pkgrel=6
pkgdesc="Kernel module that emulates SCSI devices"
arch=('i686' 'x86_64')
url="http://cdemu.sourceforge.net/"
diff --git a/community-testing/vhba-module/vhba-module.install b/community-testing/vhba-module/vhba-module.install
index 86ad03a5e..3704282a7 100644
--- a/community-testing/vhba-module/vhba-module.install
+++ b/community-testing/vhba-module/vhba-module.install
@@ -1,21 +1,20 @@
-post_upgrade() {
- ! grep -q 'cdemu' /etc/group && groupadd cdemu
+_updatemod() {
echo " > Updating module dependencies..."
EXTRAMODULES='extramodules-3.5-ARCH'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}
-
post_install() {
- echo " > Adding 'cdemu' group"
- ! grep -q 'cdemu' /etc/group && groupadd cdemu
- echo " > Add 'vhba' to your modules array to autoload it"
post_upgrade
}
+post_upgrade() {
+ getent group cdemu &>/dev/null || groupadd cdemu
+ _updatemod
+}
+
post_remove() {
- post_upgrade
- echo "Removing 'cdemu' group"
+ _updatemod
groupdel cdemu
}