[arch-commits] Commit in libu2f-host/trunk (PKGBUILD libu2f-host.install)

Christian Hesse eworm at archlinux.org
Mon May 2 20:01:09 UTC 2016


    Date: Monday, May 2, 2016 @ 22:01:09
  Author: eworm
Revision: 173454

upgpkg: libu2f-host 1.1.1-2

Rules are reloaded on events:
https://github.com/systemd/systemd/blob/master/src/udev/udevd.c#L796

So do not force to reload on installation.

Modified:
  libu2f-host/trunk/PKGBUILD
Deleted:
  libu2f-host/trunk/libu2f-host.install

---------------------+
 PKGBUILD            |    3 +--
 libu2f-host.install |   15 ---------------
 2 files changed, 1 insertion(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-02 19:59:43 UTC (rev 173453)
+++ PKGBUILD	2016-05-02 20:01:09 UTC (rev 173454)
@@ -3,7 +3,7 @@
 
 pkgname=libu2f-host
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
 arch=('i686' 'x86_64')
 url='https://github.com/Yubico/libu2f-host'
@@ -10,7 +10,6 @@
 license=('BSD')
 depends=('json-c' 'hidapi')
 makedepends=('git' 'help2man' 'gtk-doc' 'gengetopt')
-install=libu2f-host.install
 source=("git://github.com/Yubico/libu2f-host.git#tag=libu2f-host-${pkgver}"
 	'makefile.patch')
 sha256sums=('SKIP'

Deleted: libu2f-host.install
===================================================================
--- libu2f-host.install	2016-05-02 19:59:43 UTC (rev 173453)
+++ libu2f-host.install	2016-05-02 20:01:09 UTC (rev 173454)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-post_upgrade() {
-	if systemctl -q is-active systemd-udevd; then
-		udevadm control --reload-rules
-	fi
-}
-
-post_install() {
-	post_upgrade
-}
-
-post_remove() {
-	post_upgrade
-}



More information about the arch-commits mailing list