commit:     4a85735a9c360bf8a034e8288f8869de99ff32f6
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 08:59:41 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 09:02:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a85735a

net-firewall/ufw: use chmod instead of fperms

Fix QA warning regarding using fperms with relative paths (since we use
globs here, see also bug #714082).

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-firewall/ufw/ufw-0.36.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-firewall/ufw/ufw-0.36.1.ebuild 
b/net-firewall/ufw/ufw-0.36.1.ebuild
index e2c1d375da38..e3319943a06b 100644
--- a/net-firewall/ufw/ufw-0.36.1.ebuild
+++ b/net-firewall/ufw/ufw-0.36.1.ebuild
@@ -134,7 +134,7 @@ python_install_all() {
        systemd_dounit "${FILESDIR}/ufw.service"
 
        pushd "${ED}" || die
-       fperms -R 0644 etc/ufw/*.rules
+       chmod -R 0644 etc/ufw/*.rules || die
        popd || die
 
        exeinto /usr/share/${PN}

Reply via email to