APKBUILD examples:Permissions

From Alpine Linux
Revision as of 22:26, 16 September 2023 by Sertonix (talk | contribs) (use cat template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If the source files have strange permissions you can easily fix this in your APKBUILD.

Contents of APKBUILD

... # Fix subdir perms find "$subpkgdir"/usr/share/doc/$pkgname/ -type d \ -exec chmod 755 '{}' \; || return 1 find "$subpkgdir"/usr/share/$pkgname/ -type d \ -exec chmod 755 '{}' \; || return 1 ...