Date: Sunday, March 1, 2015 @ 13:28:54
  Author: svenstaro
Revision: 128481

upgpkg: bumblebee 3.2.1-9

Fix group handling

Modified:
  bumblebee/trunk/PKGBUILD
  bumblebee/trunk/bumblebee.install

-------------------+
 PKGBUILD          |    2 +-
 bumblebee.install |   12 ++----------
 2 files changed, 3 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-03-01 11:53:29 UTC (rev 128480)
+++ PKGBUILD    2015-03-01 12:28:54 UTC (rev 128481)
@@ -3,7 +3,7 @@
 
 pkgname=bumblebee
 pkgver=3.2.1
-pkgrel=8
+pkgrel=9
 pkgdesc="NVIDIA Optimus support for Linux through VirtualGL"
 arch=('i686' 'x86_64')
 depends=('virtualgl' 'glib2' 'mesa-libgl')

Modified: bumblebee.install
===================================================================
--- bumblebee.install   2015-03-01 11:53:29 UTC (rev 128480)
+++ bumblebee.install   2015-03-01 12:28:54 UTC (rev 128481)
@@ -1,16 +1,8 @@
-_notice() {
+post_upgrade() {
+    getent group "bumblebee" &>/dev/null || groupadd -g 56 bumblebee
     echo "Don't forget to add yourself to the 'bumblebee' group to use 
Bumblebee"
 }
 
-post_upgrade() {
-    getent group "bumblebee" &>/dev/null || groupadd -r bumblebee
-}
-
-post_remove() {
-    getent group "bumblebee" &>/dev/null && groupdel bumblebee 1>/dev/null
-}
-
 post_install() {
     post_upgrade
-    _notice
 }

Reply via email to