From eae55b46f446ee42bb3b768f5baa0cab3cae51cc Mon Sep 17 00:00:00 2001 From: Matheus Gabriel Werny de Lima Date: Mon, 3 Oct 2022 08:14:36 +0200 Subject: [PATCH] Error fix. --- PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 8663714d856e..b3b126b0c173 100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -44,11 +44,11 @@ package() done cp -r "${srcdir}"/"${pkgname}"-"${pkgver}"/lib/ "${pkgdir}"/opt/"${pkgname}"/ - find "${pkgdir}"/opt/"${pkgname}"/lib/ -exec chmod 755 {} + -type d - find "${pkgdir}"/opt/"${pkgname}"/lib/ -exec chmod 644 {} + -type f + find "${pkgdir}"/opt/"${pkgname}"/lib/ -type d -exec chmod 755 {} + + find "${pkgdir}"/opt/"${pkgname}"/lib/ -type f -exec chmod 644 {} + # Install the documentation. cp -r "${srcdir}"/"${pkgname}"-"${pkgver}"/docs/* "${pkgdir}"/usr/share/doc/"${pkgname}"/ - find "${pkgdir}"/usr/share/doc/"${pkgname}"/ -exec chmod 755 {} + -type d - find "${pkgdir}"/usr/share/doc/"${pkgname}"/ -exec chmod 644 {} + -type f + find "${pkgdir}"/usr/share/doc/"${pkgname}"/ -type d -exec chmod 755 {} + + find "${pkgdir}"/usr/share/doc/"${pkgname}"/ -type f -exec chmod 644 {} + }