APKBUILD examples:Permissions: Difference between revisions

From Alpine Linux
(minor updates)
(use cat template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
If the source files have strange permissions you can easily fix this in your APKBUILD.
If the source files have strange permissions you can easily fix this in your APKBUILD.


<pre>
{{cat|APKBUILD|<nowiki>...
# Fix subdir perms
# Fix subdir perms
find "$subpkgdir"/usr/share/doc/$pkgname/ -type d \
find "$subpkgdir"/usr/share/doc/$pkgname/ -type d \
Line 7: Line 7:
find "$subpkgdir"/usr/share/$pkgname/ -type d \
find "$subpkgdir"/usr/share/$pkgname/ -type d \
-exec chmod 755 '{}' \; || return 1
-exec chmod 755 '{}' \; || return 1
</pre>
...</nowiki>}}


[[Category:Development]]
[[Category:Development]]
== private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm ==
Offers private label cosmetics with custom design. We produce lip balms, serum, creams and more. Easy to buy with eshop. Private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
== private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm ==
Offers private label cosmetics with custom design. We produce lip balms, serum, creams and more. Easy to buy with eshop. Private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
== private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm ==
Offers private label cosmetics with custom design. We produce lip balms, serum, creams and more. Easy to buy with eshop. Private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
== private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm ==
Offers private label cosmetics with custom design. We produce lip balms, serum, creams and more. Easy to buy with eshop. Private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
== private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm ==
Offers private label cosmetics with custom design. We produce lip balms, serum, creams and more. Easy to buy with eshop. Private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]
[[http://ultra-high-end.com/custom-made.html private label cosmetics, custom made cosmetic, custom made cream, custom lip stick lip balm]]

Latest revision as of 22:26, 16 September 2023

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 ...