APKBUILD examples:Permissions

From Alpine Linux
Revision as of 12:29, 7 March 2016 by Fab (talk | contribs) (Reverted edits by RuthHughes (talk) to last revision by Fab)

If the source files have strange permissions you can easily fix this in your 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