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 6A2C4159C9B for ; Tue, 13 Aug 2024 15:39:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E25E2BC014; Tue, 13 Aug 2024 15:39:40 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 43CF42BC014 for ; Tue, 13 Aug 2024 15:39:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5520C34308D for ; Tue, 13 Aug 2024 15:39:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F7841EF8 for ; Tue, 13 Aug 2024 15:39:36 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1723563251.b102a73d418441bd759b4dd611ed537590ef4abd.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-power/auto-cpufreq/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild X-VCS-Directories: sys-power/auto-cpufreq/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: b102a73d418441bd759b4dd611ed537590ef4abd X-VCS-Branch: master Date: Tue, 13 Aug 2024 15:39:36 +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: 642cce7f-4ef9-4a79-94ca-86d7f4853583 X-Archives-Hash: 9113fdaf4735685f5c51156dc60fd801 Message-ID: <20240813153936.0frYnpC9BzH54UAO-YtuJ-LWfIbAeBWRK7A1ZJYVSv8@z> commit: b102a73d418441bd759b4dd611ed537590ef4abd Author: Lucio Sauer posteo net> AuthorDate: Tue Aug 13 15:27:01 2024 +0000 Commit: Lucio Sauer posteo net> CommitDate: Tue Aug 13 15:34:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b102a73d sys-power/auto-cpufreq: remove redundant file existence check The file in question is being managed by the PM, therefore it's guaranteed to not exist anymore during the post-removal phase. Signed-off-by: Lucio Sauer posteo.net> sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild | 5 ----- sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild | 5 ----- 2 files changed, 10 deletions(-) diff --git a/sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild b/sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild index 066c3f5dd..7a1ac03d1 100644 --- a/sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild +++ b/sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild @@ -120,11 +120,6 @@ pkg_postrm() { xdg_icon_cache_update xdg_desktop_database_update - # Remove the polkit policy - if [ -f "/usr/share/polkit-1/actions/org.auto-cpufreq.pkexec.policy" ]; then - rm -rf /usr/share/polkit-1/actions/org.auto-cpufreq.pkexec.policy || die - fi - # Remove the override.pickle file and directory if [[ -d "/var/lib/auto-cpufreq" ]]; then rm -rf /var/lib/auto-cpufreq diff --git a/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild b/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild index 066c3f5dd..7a1ac03d1 100644 --- a/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild +++ b/sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild @@ -120,11 +120,6 @@ pkg_postrm() { xdg_icon_cache_update xdg_desktop_database_update - # Remove the polkit policy - if [ -f "/usr/share/polkit-1/actions/org.auto-cpufreq.pkexec.policy" ]; then - rm -rf /usr/share/polkit-1/actions/org.auto-cpufreq.pkexec.policy || die - fi - # Remove the override.pickle file and directory if [[ -d "/var/lib/auto-cpufreq" ]]; then rm -rf /var/lib/auto-cpufreq