mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-power/upower: Fix incorrect REPLACING_VERSIONS usage
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit meson python-any-r1 systemd udev xdg-utils
|
||||
inherit eapi9-ver meson python-any-r1 systemd udev xdg-utils
|
||||
|
||||
DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics"
|
||||
HOMEPAGE="https://upower.freedesktop.org/"
|
||||
@@ -99,7 +99,7 @@ src_install() {
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 0.99.12; then
|
||||
if ver_replacing -lt 0.99.12; then
|
||||
elog "Support for Logitech Unifying Receiver battery state readout was"
|
||||
elog "removed in version 0.99.12, these devices have been directly"
|
||||
elog "supported by the Linux kernel since version >=3.2."
|
||||
|
||||
Reference in New Issue
Block a user