[arch-commits] Commit in android-udev/trunk (PKGBUILD android-udev.install)

Anatol Pomozov anatolik at archlinux.org
Mon Feb 9 21:16:09 UTC 2015


    Date: Monday, February 9, 2015 @ 22:16:08
  Author: anatolik
Revision: 127438

upgpkg: android-udev r133-1

Modified:
  android-udev/trunk/PKGBUILD
  android-udev/trunk/android-udev.install

----------------------+
 PKGBUILD             |    4 ++--
 android-udev.install |   12 ++----------
 2 files changed, 4 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-09 21:15:49 UTC (rev 127437)
+++ PKGBUILD	2015-02-09 21:16:08 UTC (rev 127438)
@@ -3,7 +3,7 @@
 # Contributor: marlock
 
 pkgname=android-udev
-pkgver=r124
+pkgver=r133
 pkgrel=1
 pkgdesc='Udev rules to connect Android devices to your linux box'
 arch=(any)
@@ -14,7 +14,7 @@
 install='android-udev.install'
 
 # instead of using HEAD version let's depend on some known revision
-_git_revision=a08c3cd6ae83537dcc398925db52349fe7f5c7f5
+_git_revision=82f78561f388363a925e6663211988d9527de0c6
 source=(git+https://github.com/M0Rf30/android-udev-rules.git#commit=$_git_revision)
 md5sums=('SKIP')
 

Modified: android-udev.install
===================================================================
--- android-udev.install	2015-02-09 21:15:49 UTC (rev 127437)
+++ android-udev.install	2015-02-09 21:16:08 UTC (rev 127438)
@@ -1,12 +1,4 @@
 post_install() {
-  getent group adbusers >/dev/null && groupdel adbusers
-  groupadd -r adbusers
+  getent group adbusers >/dev/null || groupadd -r adbusers
+  true
 }
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  getent group adbusers &>/dev/null && groupdel adbusers
-}



More information about the arch-commits mailing list