gui-apps/swaylock: fcaps -m u+s

Bug: https://bugs.gentoo.org/811105
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2025-08-07 16:02:27 -04:00
parent 336d9c1dab
commit 7d77e816fa
2 changed files with 3 additions and 3 deletions

View File

@@ -50,5 +50,5 @@ src_configure() {
}
pkg_postinst() {
use !pam && fcaps cap_sys_admin usr/bin/swaylock
use !pam && fcaps -m u+s cap_sys_admin usr/bin/swaylock
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -50,5 +50,5 @@ src_configure() {
}
pkg_postinst() {
use !pam && fcaps cap_sys_admin usr/bin/swaylock
use !pam && fcaps -m u+s cap_sys_admin usr/bin/swaylock
}