[arch-commits] Commit in vhba-module/trunk (PKGBUILD vhba-module.install)

Jan Steffens heftig at archlinux.org
Fri Feb 27 12:48:32 UTC 2015


    Date: Friday, February 27, 2015 @ 13:48:31
  Author: heftig
Revision: 128352

don't remove group

Modified:
  vhba-module/trunk/PKGBUILD
  vhba-module/trunk/vhba-module.install

---------------------+
 PKGBUILD            |    2 +-
 vhba-module.install |    5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-27 11:18:31 UTC (rev 128351)
+++ PKGBUILD	2015-02-27 12:48:31 UTC (rev 128352)
@@ -6,7 +6,7 @@
 pkgname=vhba-module
 pkgver=20140928
 _extramodules=extramodules-3.19-ARCH
-pkgrel=6
+pkgrel=7
 pkgdesc="Kernel module that emulates SCSI devices"
 arch=('i686' 'x86_64')
 url="http://cdemu.sourceforge.net/"

Modified: vhba-module.install
===================================================================
--- vhba-module.install	2015-02-27 11:18:31 UTC (rev 128351)
+++ vhba-module.install	2015-02-27 12:48:31 UTC (rev 128352)
@@ -6,17 +6,16 @@
 }
 
 post_install() {
-  post_upgrade
+  getent group cdemu &>/dev/null || groupadd -r cdemu
+  _updatemod
 }
 
 post_upgrade() {
-  getent group cdemu &>/dev/null || groupadd -r cdemu
   _updatemod
 }
 
 post_remove() {
   _updatemod
-  groupdel cdemu
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list