Instead of fixing up permissions manually as the make
install target is actually responsible for this (and already
doing it).

Signed-off-by: Wolfgang Bumiller <[email protected]>
---
 debian/rules | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8c618219..f2c2cb77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,7 @@ override_dh_strip_nondeterminism:
        dh_strip_nondeterminism -X.png
 
 override_dh_fixperms:
-       dh_fixperms
-       find debian -name 'pvemailforward' -exec chown root:www-data {} +
-       find debian -name 'pvemailforward' -exec chmod 2755 {} +
-       find debian -type d -name 'pveproxy' -exec chown www-data:www-data {} +
-       find debian -type d -name 'pveproxy' -exec chmod 700 {} +
+       dh_fixperms -Xpvemailforward -Xvar/log/pveproxy
 
 %:
        dh $@
-- 
2.11.0


_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to