From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 350C8158003 for ; Wed, 20 Jul 2022 13:59:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFE1BE0B9A; Wed, 20 Jul 2022 13:59:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B800EE0B9A for ; Wed, 20 Jul 2022 13:59:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F45A340F31 for ; Wed, 20 Jul 2022 13:59:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A64B51E for ; Wed, 20 Jul 2022 13:59:39 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1658325568.0c8091fad28a3378f48c7be1dbf0c959244b5175.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/usb_modeswitch/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild X-VCS-Directories: sys-apps/usb_modeswitch/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0c8091fad28a3378f48c7be1dbf0c959244b5175 X-VCS-Branch: master Date: Wed, 20 Jul 2022 13:59:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 98c71736-c2a4-4dce-bd7f-68c9ebbff0f1 X-Archives-Hash: 86da0214efd89caa00e2bc9fd9d73229 commit: 0c8091fad28a3378f48c7be1dbf0c959244b5175 Author: Pacho Ramos gentoo org> AuthorDate: Wed Jul 20 13:47:43 2022 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Jul 20 13:59:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c8091fa sys-apps/usb_modeswitch: Reload udev rules Closes: https://bugs.gentoo.org/851891 Signed-off-by: Pacho Ramos gentoo.org> sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild index 78af89e7578d..d20c200a940a 100644 --- a/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild +++ b/sys-apps/usb_modeswitch/usb_modeswitch-2.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -65,3 +65,11 @@ src_install() { keepdir /var/lib/${PN} } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}