summaryrefslogtreecommitdiff
diff options
authorMichael Vogt <mvo@ubuntu.com>2019-06-05 08:59:27 +0200
committerMichael Vogt <mvo@ubuntu.com>2019-06-05 08:59:30 +0200
commitaf85cd6a269769b91a035237d99de33f4766da2f (patch)
tree46423b0b67357e028ca48413e2e286fcfba18353
parent87febe902112a6288d6ea3f97025a5a96df37c3d (diff)
packaging: fix permissons powerpc docs dirtweak-ppc-perms
When building powerpc, use install -d instead of mkdir to install the base directory for the README.powerpc. This fixes a lintian warning about unusual permissions on the powerpc build.
-rwxr-xr-xpackaging/ubuntu-16.04/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/ubuntu-16.04/rules b/packaging/ubuntu-16.04/rules
index 7fb4068f54..0f33738b7a 100755
--- a/packaging/ubuntu-16.04/rules
+++ b/packaging/ubuntu-16.04/rules
@@ -109,7 +109,7 @@ else
rm -rf debian/snapd; \
fi; \
if [ "$@" = "binary" ] || [ "$@" = "binary-arch" ]; then \
- mkdir -p debian/snapd/usr/share/doc/snapd/; \
+ install -m755 -d debian/snapd/usr/share/doc/snapd/; \
cp debian/README.powerpc debian/snapd/usr/share/doc/snapd/; \
dh_installdeb; \
dh_gencontrol; \