summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-07-01 10:59:41 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-07-01 11:02:42 +0200
commit4a85735a9c360bf8a034e8288f8869de99ff32f6 (patch)
tree2f33f5af3c7ba9521b6df256d176c79adc53679b /net-firewall
parentnet-firewall/ufw: remove duplicate bash completion patch (diff)
downloadgentoo-4a85735a9c360bf8a034e8288f8869de99ff32f6.tar.gz
gentoo-4a85735a9c360bf8a034e8288f8869de99ff32f6.tar.bz2
gentoo-4a85735a9c360bf8a034e8288f8869de99ff32f6.zip
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@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/ufw/ufw-0.36.1.ebuild2
1 files changed, 1 insertions, 1 deletions
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}