diff options
author | 2024-08-13 17:27:01 +0200 | |
---|---|---|
committer | 2024-08-13 17:34:11 +0200 | |
commit | b102a73d418441bd759b4dd611ed537590ef4abd (patch) | |
tree | 3af961cccf2738ba05f3b95aa8142e0c63a2806f /sys-power | |
parent | x11-misc/ly: Fixing hprefixify of nonexistent wsetup.sh and xsetup.sh files, ... (diff) | |
download | guru-b102a73d418441bd759b4dd611ed537590ef4abd.tar.gz guru-b102a73d418441bd759b4dd611ed537590ef4abd.tar.bz2 guru-b102a73d418441bd759b4dd611ed537590ef4abd.zip |
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 <watermanpaint@posteo.net>
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/auto-cpufreq/auto-cpufreq-2.2.0.ebuild | 5 | ||||
-rw-r--r-- | sys-power/auto-cpufreq/auto-cpufreq-2.3.0.ebuild | 5 |
2 files changed, 0 insertions, 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 066c3f5ddc..7a1ac03d1d 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 066c3f5ddc..7a1ac03d1d 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 |